#F251D2#F251D2

#F251D2 is a light, highly saturated pink. Relative luminance 0.294; OKLCH L 69.6% C 0.237 H 336.8°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#F251D2
RGBrgb(242, 81, 210)
HSLhsl(312, 86%, 63%)
HSVhsv(312, 67%, 95%)
CMYKcmyk(0%, 66.5%, 13.2%, 5.1%)
CIE-LABlab(61.15, 74.27, -34.47)
CIE-LCHlch(61.15, 81.88, 335.11°)
OKLaboklab(69.63% 0.2181 -0.0936)
OKLCHoklch(69.63% 0.237 336.8)
XYZxyz(51.1940, 29.4197, 63.9426)
Luminance0.2942 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F251D2 #51F271
analogous
#C151F2 #F251D2 #F25182
triadic
#F251D2 #D2F251 #51D2F2
tetradic
#F251D2 #F2C151 #51F271 #5182F2
square
#F251D2 #F2C151 #51F271 #5182F2
split-complementary
#F251D2 #82F251 #51F2C1
monochromatic
#BB0E98 #EE18C3 #F251D2 #F68AE1 #FBC3EF

Accessibility & contrast

On white

3.05
#F251D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#F251D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F251D2
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F251D2#FFFFFF#000000##000000
##F251D21.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5584D6
Deuteranopia (green-blind)
#899CCE
Tritanopia (blue-blind)
#FE5A8B
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #f251d2;
/* rgb */ color: rgb(242, 81, 210);
/* oklch */ color: oklch(69.6% 0.237 336.8);
Tailwind
colors: {
  custom: {
    50: '#fa8de0',
    500: '#f251d2',
    950: '#000000',
  },
}
SCSS
$custom: #f251d2;
$custom-light: #fa8de0;
$custom-dark: #000000;
JSON
{
  "hex": "#f251d2",
  "rgb": {
    "r": 242,
    "g": 81,
    "b": 210
  },
  "hsl": {
    "h": 311.925,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.69628,
    "c": 0.23731,
    "h": 336.8
  },
  "luminance": 0.29415
}

Semantic roles & 50–950 ramp

primary
#F251D2
secondary
#B3ECBE
accent
#E32F03
background
#FFF9FD
surface
#FFF1FB
border
#D7CBD4
text
#180D15
muted
#867E83

Preview Lab

Preview with #F251D2

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

Preview Lab → · Contrast checker → · Palette generator →

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