#F251D5#F251D5

#F251D5 is a light, highly saturated pink. Relative luminance 0.296; OKLCH L 69.8% C 0.239 H 335.9°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#F251D5
RGBrgb(242, 81, 213)
HSLhsl(311, 86%, 63%)
HSVhsv(311, 67%, 95%)
CMYKcmyk(0%, 66.5%, 12%, 5.1%)
CIE-LABlab(61.28, 74.70, -35.96)
CIE-LCHlch(61.28, 82.90, 334.30°)
OKLaboklab(69.77% 0.2184 -0.0979)
OKLCHoklch(69.77% 0.239 335.9)
XYZxyz(51.5713, 29.5706, 65.9295)
Luminance0.2957 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F251D5 #51F26E
analogous
#BE51F2 #F251D5 #F25185
triadic
#F251D5 #D5F251 #51D5F2
tetradic
#F251D5 #F2BE51 #51F26E #5185F2
square
#F251D5 #F2BE51 #51F26E #5185F2
split-complementary
#F251D5 #85F251 #51F2BE
monochromatic
#BB0E9C #EE18C7 #F251D5 #F68AE3 #FBC3F0

Accessibility & contrast

On white

3.04
#F251D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#F251D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F251D5
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F251D5#FFFFFF#000000##000000
##F251D51.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5384D9
Deuteranopia (green-blind)
#889DD1
Tritanopia (blue-blind)
#FE5B8C
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #f251d5;
/* rgb */ color: rgb(242, 81, 213);
/* oklch */ color: oklch(69.8% 0.239 335.9);
Tailwind
colors: {
  custom: {
    50: '#fa8de2',
    500: '#f251d5',
    950: '#000000',
  },
}
SCSS
$custom: #f251d5;
$custom-light: #fa8de2;
$custom-dark: #000000;
JSON
{
  "hex": "#f251d5",
  "rgb": {
    "r": 242,
    "g": 81,
    "b": 213
  },
  "hsl": {
    "h": 310.807,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.69766,
    "c": 0.23935,
    "h": 335.9
  },
  "luminance": 0.29566
}

Semantic roles & 50–950 ramp

primary
#F251D5
secondary
#B3ECBD
accent
#E32B03
background
#FFF9FD
surface
#FFF1FB
border
#D7CBD4
text
#180D15
muted
#867E83

Preview Lab

Preview with #F251D5

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

Preview Lab → · Contrast checker → · Palette generator →

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