#F257C6#F257C6

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

Color values

HEX#F257C6
RGBrgb(242, 87, 198)
HSLhsl(317, 86%, 65%)
HSVhsv(317, 64%, 95%)
CMYKcmyk(0%, 64%, 18.2%, 5.1%)
CIE-LABlab(61.46, 70.34, -27.18)
CIE-LCHlch(61.46, 75.41, 338.87°)
OKLaboklab(69.69% 0.2094 -0.0731)
OKLCHoklch(69.69% 0.222 340.8)
XYZxyz(50.2204, 29.7755, 56.5175)
Luminance0.2977 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F257C6 #57F283
analogous
#D057F2 #F257C6 #F25779
triadic
#F257C6 #C6F257 #57C6F2
tetradic
#F257C6 #F2D057 #57F283 #5779F2
square
#F257C6 #F2D057 #57F283 #5779F2
split-complementary
#F257C6 #79F257 #57F2D0
monochromatic
#C00F8E #EE1EB3 #F257C6 #F690D9 #FBC9ED

Accessibility & contrast

On white

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

On black

6.95
#F257C6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F257C6
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F257C6#FFFFFF#000000##000000
##F257C61.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6184C9
Deuteranopia (green-blind)
#909EC2
Tritanopia (blue-blind)
#FF5A87
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #f257c6;
/* rgb */ color: rgb(242, 87, 198);
/* oklch */ color: oklch(69.7% 0.222 340.8);
Tailwind
colors: {
  custom: {
    50: '#fa90d7',
    500: '#f257c6',
    950: '#000000',
  },
}
SCSS
$custom: #f257c6;
$custom-light: #fa90d7;
$custom-dark: #000000;
JSON
{
  "hex": "#f257c6",
  "rgb": {
    "r": 242,
    "g": 87,
    "b": 198
  },
  "hsl": {
    "h": 317.032,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.6969,
    "c": 0.22181,
    "h": 340.8
  },
  "luminance": 0.29771
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F257C6

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

Preview Lab → · Contrast checker → · Palette generator →

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