#F257C7#F257C7

#F257C7 is a light, highly saturated pink. Relative luminance 0.298; OKLCH L 69.7% C 0.222 H 340.4°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#F257C7
RGBrgb(242, 87, 199)
HSLhsl(317, 86%, 65%)
HSVhsv(317, 64%, 95%)
CMYKcmyk(0%, 64%, 17.8%, 5.1%)
CIE-LABlab(61.50, 70.48, -27.69)
CIE-LCHlch(61.50, 75.72, 338.55°)
OKLaboklab(69.73% 0.2096 -0.0745)
OKLCHoklch(69.73% 0.222 340.4)
XYZxyz(50.3362, 29.8217, 57.1269)
Luminance0.2982 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F257C7 #57F282
analogous
#CF57F2 #F257C7 #F2577A
triadic
#F257C7 #C7F257 #57C7F2
tetradic
#F257C7 #F2CF57 #57F282 #577AF2
square
#F257C7 #F2CF57 #57F282 #577AF2
split-complementary
#F257C7 #7AF257 #57F2CF
monochromatic
#C00F8F #EE1EB4 #F257C7 #F690DA #FBC9ED

Accessibility & contrast

On white

3.02
#F257C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#F257C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F257C7
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F257C7#FFFFFF#000000##000000
##F257C71.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6185CA
Deuteranopia (green-blind)
#909EC3
Tritanopia (blue-blind)
#FF5A87
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #f257c7;
/* rgb */ color: rgb(242, 87, 199);
/* oklch */ color: oklch(69.7% 0.222 340.4);
Tailwind
colors: {
  custom: {
    50: '#fa90d8',
    500: '#f257c7',
    950: '#000000',
  },
}
SCSS
$custom: #f257c7;
$custom-light: #fa90d8;
$custom-dark: #000000;
JSON
{
  "hex": "#f257c7",
  "rgb": {
    "r": 242,
    "g": 87,
    "b": 199
  },
  "hsl": {
    "h": 316.645,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.69732,
    "c": 0.22245,
    "h": 340.4
  },
  "luminance": 0.29817
}

Semantic roles & 50–950 ramp

primary
#F257C7
secondary
#B8EDC6
accent
#E24103
background
#FFF9FD
surface
#FFF2FA
border
#D7CCD3
text
#180D14
muted
#867E83

Preview Lab

Preview with #F257C7

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

Preview Lab → · Contrast checker → · Palette generator →

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