#F251D7#F251D7

#F251D7 is a light, highly saturated pink. Relative luminance 0.297; OKLCH L 69.9% C 0.241 H 335.3°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#F251D7
RGBrgb(242, 81, 215)
HSLhsl(310, 86%, 63%)
HSVhsv(310, 67%, 95%)
CMYKcmyk(0%, 66.5%, 11.2%, 5.1%)
CIE-LABlab(61.37, 74.99, -36.95)
CIE-LCHlch(61.37, 83.60, 333.77°)
OKLaboklab(69.86% 0.2187 -0.1007)
OKLCHoklch(69.86% 0.241 335.3)
XYZxyz(51.8267, 29.6728, 67.2746)
Luminance0.2967 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F251D7 #51F26C
analogous
#BC51F2 #F251D7 #F25186
triadic
#F251D7 #D7F251 #51D7F2
tetradic
#F251D7 #F2BC51 #51F26C #5186F2
square
#F251D7 #F2BC51 #51F26C #5186F2
split-complementary
#F251D7 #86F251 #51F2BC
monochromatic
#BB0E9E #EE18CA #F251D7 #F68AE4 #FBC3F1

Accessibility & contrast

On white

3.03
#F251D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#F251D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F251D7
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F251D7#FFFFFF#000000##000000
##F251D71.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5185DB
Deuteranopia (green-blind)
#879DD3
Tritanopia (blue-blind)
#FE5C8D
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #f251d7;
/* rgb */ color: rgb(242, 81, 215);
/* oklch */ color: oklch(69.9% 0.241 335.3);
Tailwind
colors: {
  custom: {
    50: '#fa8de3',
    500: '#f251d7',
    950: '#000000',
  },
}
SCSS
$custom: #f251d7;
$custom-light: #fa8de3;
$custom-dark: #000000;
JSON
{
  "hex": "#f251d7",
  "rgb": {
    "r": 242,
    "g": 81,
    "b": 215
  },
  "hsl": {
    "h": 310.062,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.6986,
    "c": 0.24073,
    "h": 335.3
  },
  "luminance": 0.29668
}

Semantic roles & 50–950 ramp

primary
#F251D7
secondary
#B3ECBC
accent
#E32803
background
#FFF9FD
surface
#FFF1FB
border
#D7CBD4
text
#180D15
muted
#867E83

Preview Lab

Preview with #F251D7

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

Preview Lab → · Contrast checker → · Palette generator →

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