#F257B2#F257B2

#F257B2 is a light, highly saturated pink. Relative luminance 0.289; OKLCH L 68.9% C 0.210 H 347.8°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#F257B2
RGBrgb(242, 87, 178)
HSLhsl(325, 86%, 65%)
HSVhsv(325, 64%, 95%)
CMYKcmyk(0%, 64%, 26.4%, 5.1%)
CIE-LABlab(60.70, 67.73, -16.90)
CIE-LCHlch(60.70, 69.80, 345.99°)
OKLaboklab(68.89% 0.2052 -0.0445)
OKLCHoklch(68.89% 0.21 347.8)
XYZxyz(48.0640, 28.9129, 45.1603)
Luminance0.2891 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F257B2 #57F297
analogous
#E457F2 #F257B2 #F25765
triadic
#F257B2 #B2F257 #57B2F2
tetradic
#F257B2 #F2E457 #57F297 #5765F2
square
#F257B2 #F2E457 #57F297 #5765F2
split-complementary
#F257B2 #65F257 #57F2E4
monochromatic
#C00F77 #EE1E98 #F257B2 #F690CC #FBC9E6

Accessibility & contrast

On white

3.10
#F257B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#F257B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F257B2
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F257B2#FFFFFF#000000##000000
##F257B21.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A81B5
Deuteranopia (green-blind)
#969CAE
Tritanopia (blue-blind)
#FF527D
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #f257b2;
/* rgb */ color: rgb(242, 87, 178);
/* oklch */ color: oklch(68.9% 0.210 347.8);
Tailwind
colors: {
  custom: {
    50: '#fa8fc9',
    500: '#f257b2',
    950: '#000000',
  },
}
SCSS
$custom: #f257b2;
$custom-light: #fa8fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#f257b2",
  "rgb": {
    "r": 242,
    "g": 87,
    "b": 178
  },
  "hsl": {
    "h": 324.774,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.68888,
    "c": 0.20996,
    "h": 347.8
  },
  "luminance": 0.28908
}

Semantic roles & 50–950 ramp

primary
#F257B2
secondary
#B8EDCE
accent
#E25F03
background
#FFF9FC
surface
#FFF2F8
border
#D7CCD1
text
#180D13
muted
#867E82

Preview Lab

Preview with #F257B2

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

Preview Lab → · Contrast checker → · Palette generator →

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