#F257C2#F257C2

#F257C2 is a light, highly saturated pink. Relative luminance 0.296; OKLCH L 69.5% C 0.219 H 342.1°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#F257C2
RGBrgb(242, 87, 194)
HSLhsl(319, 86%, 65%)
HSVhsv(319, 64%, 95%)
CMYKcmyk(0%, 64%, 19.8%, 5.1%)
CIE-LABlab(61.30, 69.80, -25.15)
CIE-LCHlch(61.30, 74.19, 340.19°)
OKLaboklab(69.52% 0.2087 -0.0673)
OKLCHoklch(69.52% 0.219 342.1)
XYZxyz(49.7652, 29.5933, 54.1196)
Luminance0.2959 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F257C2 #57F287
analogous
#D557F2 #F257C2 #F25775
triadic
#F257C2 #C2F257 #57C2F2
tetradic
#F257C2 #F2D557 #57F287 #5775F2
square
#F257C2 #F2D557 #57F287 #5775F2
split-complementary
#F257C2 #75F257 #57F2D5
monochromatic
#C00F89 #EE1EAD #F257C2 #F690D7 #FBC9EB

Accessibility & contrast

On white

3.04
#F257C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#F257C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F257C2
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F257C2#FFFFFF#000000##000000
##F257C21.003.046.926.92
#FFFFFF3.041.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6384C5
Deuteranopia (green-blind)
#919DBE
Tritanopia (blue-blind)
#FF5885
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #f257c2;
/* rgb */ color: rgb(242, 87, 194);
/* oklch */ color: oklch(69.5% 0.219 342.1);
Tailwind
colors: {
  custom: {
    50: '#fa90d4',
    500: '#f257c2',
    950: '#000000',
  },
}
SCSS
$custom: #f257c2;
$custom-light: #fa90d4;
$custom-dark: #000000;
JSON
{
  "hex": "#f257c2",
  "rgb": {
    "r": 242,
    "g": 87,
    "b": 194
  },
  "hsl": {
    "h": 318.581,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.69522,
    "c": 0.21929,
    "h": 342.1
  },
  "luminance": 0.29589
}

Semantic roles & 50–950 ramp

primary
#F257C2
secondary
#B8EDC8
accent
#E24803
background
#FFF9FD
surface
#FFF2FA
border
#D7CCD3
text
#180D14
muted
#867E83

Preview Lab

Preview with #F257C2

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#F257C2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva