#F251D9#F251D9

#F251D9 is a light, highly saturated purple. Relative luminance 0.298; OKLCH L 70.0% C 0.242 H 334.7°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#F251D9
RGBrgb(242, 81, 217)
HSLhsl(309, 86%, 63%)
HSVhsv(309, 67%, 95%)
CMYKcmyk(0%, 66.5%, 10.3%, 5.1%)
CIE-LABlab(61.46, 75.28, -37.93)
CIE-LCHlch(61.46, 84.30, 333.26°)
OKLaboklab(69.95% 0.2189 -0.1035)
OKLCHoklch(69.95% 0.242 334.7)
XYZxyz(52.0852, 29.7762, 68.6364)
Luminance0.2977 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F251D9 #51F26A
analogous
#BA51F2 #F251D9 #F25188
triadic
#F251D9 #D9F251 #51D9F2
tetradic
#F251D9 #F2BA51 #51F26A #5188F2
square
#F251D9 #F2BA51 #51F26A #5188F2
split-complementary
#F251D9 #88F251 #51F2BA
monochromatic
#BB0EA0 #EE18CD #F251D9 #F68AE5 #FBC3F2

Accessibility & contrast

On white

3.02
#F251D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#F251D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F251D9
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F251D9#FFFFFF#000000##000000
##F251D91.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5085DD
Deuteranopia (green-blind)
#869DD5
Tritanopia (blue-blind)
#FD5D8E
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #f251d9;
/* rgb */ color: rgb(242, 81, 217);
/* oklch */ color: oklch(70.0% 0.242 334.7);
Tailwind
colors: {
  custom: {
    50: '#fa8de5',
    500: '#f251d9',
    950: '#000000',
  },
}
SCSS
$custom: #f251d9;
$custom-light: #fa8de5;
$custom-dark: #000000;
JSON
{
  "hex": "#f251d9",
  "rgb": {
    "r": 242,
    "g": 81,
    "b": 217
  },
  "hsl": {
    "h": 309.317,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.69954,
    "c": 0.24213,
    "h": 334.7
  },
  "luminance": 0.29772
}

Semantic roles & 50–950 ramp

primary
#F251D9
secondary
#B3ECBC
accent
#E32603
background
#FFF9FE
surface
#FFF2FC
border
#D7CCD5
text
#180D16
muted
#867E84

Preview Lab

Preview with #F251D9

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

Preview Lab → · Contrast checker → · Palette generator →

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