#F257D8#F257D8

#F257D8 is a light, highly saturated pink. Relative luminance 0.307; OKLCH L 70.5% C 0.234 H 335.1°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#F257D8
RGBrgb(242, 87, 216)
HSLhsl(310, 86%, 65%)
HSVhsv(310, 64%, 95%)
CMYKcmyk(0%, 64%, 10.7%, 5.1%)
CIE-LABlab(62.22, 72.90, -36.19)
CIE-LCHlch(62.22, 81.39, 333.60°)
OKLaboklab(70.49% 0.2122 -0.0986)
OKLCHoklch(70.49% 0.234 335.1)
XYZxyz(52.4213, 30.6558, 68.1087)
Luminance0.3065 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F257D8 #57F271
analogous
#BF57F2 #F257D8 #F2578A
triadic
#F257D8 #D8F257 #57D8F2
tetradic
#F257D8 #F2BF57 #57F271 #578AF2
square
#F257D8 #F2BF57 #57F271 #578AF2
split-complementary
#F257D8 #8AF257 #57F2BF
monochromatic
#C00FA2 #EE1ECB #F257D8 #F690E5 #FBC9F2

Accessibility & contrast

On white

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

On black

7.13
#F257D8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F257D8
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F257D8#FFFFFF#000000##000000
##F257D81.002.957.137.13
#FFFFFF2.951.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5788DC
Deuteranopia (green-blind)
#899FD4
Tritanopia (blue-blind)
#FD6190
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #f257d8;
/* rgb */ color: rgb(242, 87, 216);
/* oklch */ color: oklch(70.5% 0.234 335.1);
Tailwind
colors: {
  custom: {
    50: '#fa90e4',
    500: '#f257d8',
    950: '#000000',
  },
}
SCSS
$custom: #f257d8;
$custom-light: #fa90e4;
$custom-dark: #000000;
JSON
{
  "hex": "#f257d8",
  "rgb": {
    "r": 242,
    "g": 87,
    "b": 216
  },
  "hsl": {
    "h": 310.065,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.70489,
    "c": 0.23397,
    "h": 335.1
  },
  "luminance": 0.30652
}

Semantic roles & 50–950 ramp

primary
#F257D8
secondary
#B8EDC1
accent
#E22903
background
#FFF9FE
surface
#FFF2FC
border
#D7CCD5
text
#180E15
muted
#867E84

Preview Lab

Preview with #F257D8

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

Preview Lab → · Contrast checker → · Palette generator →

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