#F257AB#F257AB

#F257AB is a light, highly saturated pink. Relative luminance 0.286; OKLCH L 68.6% C 0.206 H 350.4°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#F257AB
RGBrgb(242, 87, 171)
HSLhsl(327, 86%, 65%)
HSVhsv(327, 64%, 95%)
CMYKcmyk(0%, 64%, 29.3%, 5.1%)
CIE-LABlab(60.46, 66.87, -13.24)
CIE-LCHlch(60.46, 68.17, 348.80°)
OKLaboklab(68.63% 0.2034 -0.0344)
OKLCHoklch(68.63% 0.206 350.4)
XYZxyz(47.3791, 28.6389, 41.5529)
Luminance0.2863 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F257AB #57F29E
analogous
#EC57F2 #F257AB #F2575E
triadic
#F257AB #ABF257 #57ABF2
tetradic
#F257AB #F2EC57 #57F29E #575EF2
square
#F257AB #F2EC57 #57F29E #575EF2
split-complementary
#F257AB #5EF257 #57F2EC
monochromatic
#C00F6F #EE1E8F #F257AB #F690C7 #FBC9E4

Accessibility & contrast

On white

3.12
#F257AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#F257AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F257AB
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F257AB#FFFFFF#000000##000000
##F257AB1.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D80AD
Deuteranopia (green-blind)
#989CA7
Tritanopia (blue-blind)
#FF4F7A
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #f257ab;
/* rgb */ color: rgb(242, 87, 171);
/* oklch */ color: oklch(68.6% 0.206 350.4);
Tailwind
colors: {
  custom: {
    50: '#fb8fc4',
    500: '#f257ab',
    950: '#000000',
  },
}
SCSS
$custom: #f257ab;
$custom-light: #fb8fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#f257ab",
  "rgb": {
    "r": 242,
    "g": 87,
    "b": 171
  },
  "hsl": {
    "h": 327.484,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.68629,
    "c": 0.20632,
    "h": 350.4
  },
  "luminance": 0.28634
}

Semantic roles & 50–950 ramp

primary
#F257AB
secondary
#B8EDD0
accent
#E26903
background
#FFF9FC
surface
#FFF2F8
border
#D7CCD1
text
#180D12
muted
#867E81

Preview Lab

Preview with #F257AB

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

Preview Lab → · Contrast checker → · Palette generator →

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