#F257D6#F257D6

#F257D6 is a light, highly saturated pink. Relative luminance 0.305; OKLCH L 70.4% C 0.233 H 335.7°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#F257D6
RGBrgb(242, 87, 214)
HSLhsl(311, 86%, 65%)
HSVhsv(311, 64%, 95%)
CMYKcmyk(0%, 64%, 11.6%, 5.1%)
CIE-LABlab(62.13, 72.61, -35.20)
CIE-LCHlch(62.13, 80.69, 334.14°)
OKLaboklab(70.4% 0.2119 -0.0958)
OKLCHoklch(70.4% 0.233 335.7)
XYZxyz(52.1643, 30.5530, 66.7552)
Luminance0.3055 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F257D6 #57F273
analogous
#C157F2 #F257D6 #F25789
triadic
#F257D6 #D6F257 #57D6F2
tetradic
#F257D6 #F2C157 #57F273 #5789F2
square
#F257D6 #F2C157 #57F273 #5789F2
split-complementary
#F257D6 #89F257 #57F2C1
monochromatic
#C00FA0 #EE1EC8 #F257D6 #F690E4 #FBC9F2

Accessibility & contrast

On white

2.95
#F257D6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#F257D6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F257D6
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F257D6#FFFFFF#000000##000000
##F257D61.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5887DA
Deuteranopia (green-blind)
#8A9FD2
Tritanopia (blue-blind)
#FE618F
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #f257d6;
/* rgb */ color: rgb(242, 87, 214);
/* oklch */ color: oklch(70.4% 0.233 335.7);
Tailwind
colors: {
  custom: {
    50: '#fa90e3',
    500: '#f257d6',
    950: '#000000',
  },
}
SCSS
$custom: #f257d6;
$custom-light: #fa90e3;
$custom-dark: #000000;
JSON
{
  "hex": "#f257d6",
  "rgb": {
    "r": 242,
    "g": 87,
    "b": 214
  },
  "hsl": {
    "h": 310.839,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.70397,
    "c": 0.23257,
    "h": 335.7
  },
  "luminance": 0.30549
}

Semantic roles & 50–950 ramp

primary
#F257D6
secondary
#B8EDC1
accent
#E22C03
background
#FFF9FD
surface
#FFF2FB
border
#D7CCD4
text
#180E15
muted
#867E83

Preview Lab

Preview with #F257D6

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

Preview Lab → · Contrast checker → · Palette generator →

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