#F257C5#F257C5

#F257C5 is a light, highly saturated pink. Relative luminance 0.297; OKLCH L 69.6% C 0.221 H 341.1°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#F257C5
RGBrgb(242, 87, 197)
HSLhsl(317, 86%, 65%)
HSVhsv(317, 64%, 95%)
CMYKcmyk(0%, 64%, 18.6%, 5.1%)
CIE-LABlab(61.42, 70.20, -26.67)
CIE-LCHlch(61.42, 75.10, 339.20°)
OKLaboklab(69.65% 0.2093 -0.0716)
OKLCHoklch(69.65% 0.221 341.1)
XYZxyz(50.1055, 29.7295, 55.9120)
Luminance0.2973 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F257C5 #57F284
analogous
#D157F2 #F257C5 #F25778
triadic
#F257C5 #C5F257 #57C5F2
tetradic
#F257C5 #F2D157 #57F284 #5778F2
square
#F257C5 #F2D157 #57F284 #5778F2
split-complementary
#F257C5 #78F257 #57F2D1
monochromatic
#C00F8C #EE1EB1 #F257C5 #F690D9 #FBC9EC

Accessibility & contrast

On white

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

On black

6.94
#F257C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F257C5
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F257C5#FFFFFF#000000##000000
##F257C51.003.026.946.94
#FFFFFF3.021.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6284C8
Deuteranopia (green-blind)
#909DC1
Tritanopia (blue-blind)
#FF5A86
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #f257c5;
/* rgb */ color: rgb(242, 87, 197);
/* oklch */ color: oklch(69.6% 0.221 341.1);
Tailwind
colors: {
  custom: {
    50: '#fa90d6',
    500: '#f257c5',
    950: '#000000',
  },
}
SCSS
$custom: #f257c5;
$custom-light: #fa90d6;
$custom-dark: #000000;
JSON
{
  "hex": "#f257c5",
  "rgb": {
    "r": 242,
    "g": 87,
    "b": 197
  },
  "hsl": {
    "h": 317.419,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.69648,
    "c": 0.22117,
    "h": 341.1
  },
  "luminance": 0.29725
}

Semantic roles & 50–950 ramp

primary
#F257C5
secondary
#B8EDC7
accent
#E24403
background
#FFF9FD
surface
#FFF2FA
border
#D7CCD3
text
#180D14
muted
#867E83

Preview Lab

Preview with #F257C5

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

Preview Lab → · Contrast checker → · Palette generator →

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