#F257D5#F257D5

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

Color values

HEX#F257D5
RGBrgb(242, 87, 213)
HSLhsl(311, 86%, 65%)
HSVhsv(311, 64%, 95%)
CMYKcmyk(0%, 64%, 12%, 5.1%)
CIE-LABlab(62.09, 72.46, -34.70)
CIE-LCHlch(62.09, 80.34, 334.41°)
OKLaboklab(70.35% 0.2118 -0.0944)
OKLCHoklch(70.35% 0.232 336)
XYZxyz(52.0370, 30.5021, 66.0847)
Luminance0.3050 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F257D5 #57F274
analogous
#C257F2 #F257D5 #F25788
triadic
#F257D5 #D5F257 #57D5F2
tetradic
#F257D5 #F2C257 #57F274 #5788F2
square
#F257D5 #F2C257 #57F274 #5788F2
split-complementary
#F257D5 #88F257 #57F2C2
monochromatic
#C00F9F #EE1EC7 #F257D5 #F690E3 #FBC9F1

Accessibility & contrast

On white

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

On black

7.10
#F257D5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F257D5
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F257D5#FFFFFF#000000##000000
##F257D51.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f257d5;
/* rgb */ color: rgb(242, 87, 213);
/* oklch */ color: oklch(70.4% 0.232 336.0);
Tailwind
colors: {
  custom: {
    50: '#fa90e2',
    500: '#f257d5',
    950: '#000000',
  },
}
SCSS
$custom: #f257d5;
$custom-light: #fa90e2;
$custom-dark: #000000;
JSON
{
  "hex": "#f257d5",
  "rgb": {
    "r": 242,
    "g": 87,
    "b": 213
  },
  "hsl": {
    "h": 311.226,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.70351,
    "c": 0.23187,
    "h": 336
  },
  "luminance": 0.30498
}

Semantic roles & 50–950 ramp

primary
#F257D5
secondary
#B8EDC2
accent
#E22D03
background
#FFF9FD
surface
#FFF2FB
border
#D7CCD4
text
#180E15
muted
#867E83

Preview Lab

Preview with #F257D5

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

Preview Lab → · Contrast checker → · Palette generator →

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