#F257CB#F257CB

#F257CB is a light, highly saturated pink. Relative luminance 0.300; OKLCH L 69.9% C 0.225 H 339.1°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#F257CB
RGBrgb(242, 87, 203)
HSLhsl(315, 86%, 65%)
HSVhsv(315, 64%, 95%)
CMYKcmyk(0%, 64%, 16.1%, 5.1%)
CIE-LABlab(61.66, 71.03, -29.71)
CIE-LCHlch(61.66, 76.99, 337.31°)
OKLaboklab(69.91% 0.2103 -0.0802)
OKLCHoklch(69.91% 0.225 339.1)
XYZxyz(50.8067, 30.0100, 59.6050)
Luminance0.3000 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F257CB #57F27E
analogous
#CC57F2 #F257CB #F2577E
triadic
#F257CB #CBF257 #57CBF2
tetradic
#F257CB #F2CC57 #57F27E #577EF2
square
#F257CB #F2CC57 #57F27E #577EF2
split-complementary
#F257CB #7EF257 #57F2CC
monochromatic
#C00F93 #EE1EB9 #F257CB #F690DD #FBC9EE

Accessibility & contrast

On white

3.00
#F257CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#F257CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F257CB
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F257CB#FFFFFF#000000##000000
##F257CB1.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F85CE
Deuteranopia (green-blind)
#8E9EC7
Tritanopia (blue-blind)
#FF5C89
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #f257cb;
/* rgb */ color: rgb(242, 87, 203);
/* oklch */ color: oklch(69.9% 0.225 339.1);
Tailwind
colors: {
  custom: {
    50: '#fa90db',
    500: '#f257cb',
    950: '#000000',
  },
}
SCSS
$custom: #f257cb;
$custom-light: #fa90db;
$custom-dark: #000000;
JSON
{
  "hex": "#f257cb",
  "rgb": {
    "r": 242,
    "g": 87,
    "b": 203
  },
  "hsl": {
    "h": 315.097,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.69905,
    "c": 0.22507,
    "h": 339.1
  },
  "luminance": 0.30005
}

Semantic roles & 50–950 ramp

primary
#F257CB
secondary
#B8EDC5
accent
#E23B03
background
#FFF9FD
surface
#FFF2FB
border
#D7CCD4
text
#180D15
muted
#867E83

Preview Lab

Preview with #F257CB

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

Preview Lab → · Contrast checker → · Palette generator →

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