#F257CF#F257CF

#F257CF is a light, highly saturated pink. Relative luminance 0.302; OKLCH L 70.1% C 0.228 H 337.9°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#F257CF
RGBrgb(242, 87, 207)
HSLhsl(314, 86%, 65%)
HSVhsv(314, 64%, 95%)
CMYKcmyk(0%, 64%, 14.5%, 5.1%)
CIE-LABlab(61.83, 71.60, -31.71)
CIE-LCHlch(61.83, 78.31, 336.11°)
OKLaboklab(70.08% 0.2109 -0.0859)
OKLCHoklch(70.08% 0.228 337.9)
XYZxyz(51.2895, 30.2031, 62.1479)
Luminance0.3020 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F257CF #57F27A
analogous
#C757F2 #F257CF #F25782
triadic
#F257CF #CFF257 #57CFF2
tetradic
#F257CF #F2C757 #57F27A #5782F2
square
#F257CF #F2C757 #57F27A #5782F2
split-complementary
#F257CF #82F257 #57F2C7
monochromatic
#C00F98 #EE1EBF #F257CF #F690DF #FBC9EF

Accessibility & contrast

On white

2.98
#F257CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#F257CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F257CF
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F257CF#FFFFFF#000000##000000
##F257CF1.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C86D3
Deuteranopia (green-blind)
#8D9ECB
Tritanopia (blue-blind)
#FF5E8B
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #f257cf;
/* rgb */ color: rgb(242, 87, 207);
/* oklch */ color: oklch(70.1% 0.228 337.9);
Tailwind
colors: {
  custom: {
    50: '#fa90de',
    500: '#f257cf',
    950: '#000000',
  },
}
SCSS
$custom: #f257cf;
$custom-light: #fa90de;
$custom-dark: #000000;
JSON
{
  "hex": "#f257cf",
  "rgb": {
    "r": 242,
    "g": 87,
    "b": 207
  },
  "hsl": {
    "h": 313.548,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.7008,
    "c": 0.22774,
    "h": 337.9
  },
  "luminance": 0.30199
}

Semantic roles & 50–950 ramp

primary
#F257CF
secondary
#B8EDC4
accent
#E23603
background
#FFF9FD
surface
#FFF2FB
border
#D7CCD4
text
#180D15
muted
#867E83

Preview Lab

Preview with #F257CF

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

Preview Lab → · Contrast checker → · Palette generator →

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