#F257A7#F257A7

#F257A7 is a light, highly saturated pink. Relative luminance 0.285; OKLCH L 68.5% C 0.204 H 351.9°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#F257A7
RGBrgb(242, 87, 167)
HSLhsl(329, 86%, 65%)
HSVhsv(329, 64%, 95%)
CMYKcmyk(0%, 64%, 31%, 5.1%)
CIE-LABlab(60.33, 66.40, -11.13)
CIE-LCHlch(60.33, 67.33, 350.48°)
OKLaboklab(68.49% 0.2024 -0.0287)
OKLCHoklch(68.49% 0.204 351.9)
XYZxyz(47.0036, 28.4887, 39.5752)
Luminance0.2848 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F257A7 #57F2A2
analogous
#EF57F2 #F257A7 #F2575A
triadic
#F257A7 #A7F257 #57A7F2
tetradic
#F257A7 #F2EF57 #57F2A2 #575AF2
square
#F257A7 #F2EF57 #57F2A2 #575AF2
split-complementary
#F257A7 #5AF257 #57F2EF
monochromatic
#C00F6A #EE1E89 #F257A7 #F690C5 #FBC9E3

Accessibility & contrast

On white

3.14
#F257A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#F257A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F257A7
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F257A7#FFFFFF#000000##000000
##F257A71.003.146.706.70
#FFFFFF3.141.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E80A9
Deuteranopia (green-blind)
#999CA3
Tritanopia (blue-blind)
#FF4E78
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #f257a7;
/* rgb */ color: rgb(242, 87, 167);
/* oklch */ color: oklch(68.5% 0.204 351.9);
Tailwind
colors: {
  custom: {
    50: '#fb8fc1',
    500: '#f257a7',
    950: '#000000',
  },
}
SCSS
$custom: #f257a7;
$custom-light: #fb8fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#f257a7",
  "rgb": {
    "r": 242,
    "g": 87,
    "b": 167
  },
  "hsl": {
    "h": 329.032,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.68487,
    "c": 0.20438,
    "h": 351.9
  },
  "luminance": 0.28484
}

Semantic roles & 50–950 ramp

primary
#F257A7
secondary
#B8EDD2
accent
#E26F03
background
#FFF9FB
surface
#FFF2F7
border
#D7CCD0
text
#180D12
muted
#867E81

Preview Lab

Preview with #F257A7

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

Preview Lab → · Contrast checker → · Palette generator →

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