#F257D4#F257D4

#F257D4 is a light, highly saturated pink. Relative luminance 0.304; OKLCH L 70.3% C 0.231 H 336.3°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#F257D4
RGBrgb(242, 87, 212)
HSLhsl(312, 86%, 65%)
HSVhsv(312, 64%, 95%)
CMYKcmyk(0%, 64%, 12.4%, 5.1%)
CIE-LABlab(62.04, 72.32, -34.21)
CIE-LCHlch(62.04, 80.00, 334.68°)
OKLaboklab(70.3% 0.2117 -0.0929)
OKLCHoklch(70.3% 0.231 336.3)
XYZxyz(51.9105, 30.4515, 65.4183)
Luminance0.3045 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F257D4 #57F275
analogous
#C357F2 #F257D4 #F25787
triadic
#F257D4 #D4F257 #57D4F2
tetradic
#F257D4 #F2C357 #57F275 #5787F2
square
#F257D4 #F2C357 #57F275 #5787F2
split-complementary
#F257D4 #87F257 #57F2C3
monochromatic
#C00F9E #EE1EC5 #F257D4 #F690E3 #FBC9F1

Accessibility & contrast

On white

2.96
#F257D4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#F257D4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F257D4
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F257D4#FFFFFF#000000##000000
##F257D41.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5987D8
Deuteranopia (green-blind)
#8B9ED0
Tritanopia (blue-blind)
#FE608E
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #f257d4;
/* rgb */ color: rgb(242, 87, 212);
/* oklch */ color: oklch(70.3% 0.231 336.3);
Tailwind
colors: {
  custom: {
    50: '#fa90e1',
    500: '#f257d4',
    950: '#000000',
  },
}
SCSS
$custom: #f257d4;
$custom-light: #fa90e1;
$custom-dark: #000000;
JSON
{
  "hex": "#f257d4",
  "rgb": {
    "r": 242,
    "g": 87,
    "b": 212
  },
  "hsl": {
    "h": 311.613,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.70305,
    "c": 0.23117,
    "h": 336.3
  },
  "luminance": 0.30447
}

Semantic roles & 50–950 ramp

primary
#F257D4
secondary
#B8EDC2
accent
#E22E03
background
#FFF9FD
surface
#FFF2FB
border
#D7CCD4
text
#180D15
muted
#867E83

Preview Lab

Preview with #F257D4

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

Preview Lab → · Contrast checker → · Palette generator →

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