#F257CA#F257CA

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

Color values

HEX#F257CA
RGBrgb(242, 87, 202)
HSLhsl(315, 86%, 65%)
HSVhsv(315, 64%, 95%)
CMYKcmyk(0%, 64%, 16.5%, 5.1%)
CIE-LABlab(61.62, 70.89, -29.20)
CIE-LCHlch(61.62, 76.67, 337.61°)
OKLaboklab(69.86% 0.2101 -0.0788)
OKLCHoklch(69.86% 0.224 339.5)
XYZxyz(50.6879, 29.9624, 58.9794)
Luminance0.2996 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F257CA #57F27F
analogous
#CD57F2 #F257CA #F2577D
triadic
#F257CA #CAF257 #57CAF2
tetradic
#F257CA #F2CD57 #57F27F #577DF2
square
#F257CA #F2CD57 #57F27F #577DF2
split-complementary
#F257CA #7DF257 #57F2CD
monochromatic
#C00F92 #EE1EB8 #F257CA #F690DC #FBC9EE

Accessibility & contrast

On white

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

On black

6.99
#F257CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F257CA
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F257CA#FFFFFF#000000##000000
##F257CA1.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f257ca;
/* rgb */ color: rgb(242, 87, 202);
/* oklch */ color: oklch(69.9% 0.224 339.5);
Tailwind
colors: {
  custom: {
    50: '#fa90da',
    500: '#f257ca',
    950: '#000000',
  },
}
SCSS
$custom: #f257ca;
$custom-light: #fa90da;
$custom-dark: #000000;
JSON
{
  "hex": "#f257ca",
  "rgb": {
    "r": 242,
    "g": 87,
    "b": 202
  },
  "hsl": {
    "h": 315.484,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.69861,
    "c": 0.22441,
    "h": 339.5
  },
  "luminance": 0.29958
}

Semantic roles & 50–950 ramp

primary
#F257CA
secondary
#B8EDC5
accent
#E23D03
background
#FFF9FD
surface
#FFF2FA
border
#D7CCD3
text
#180D15
muted
#867E83

Preview Lab

Preview with #F257CA

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

Preview Lab → · Contrast checker → · Palette generator →

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