#F251C7#F251C7

#F251C7 is a light, highly saturated pink. Relative luminance 0.289; OKLCH L 69.1% C 0.230 H 340.2°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#F251C7
RGBrgb(242, 81, 199)
HSLhsl(316, 86%, 63%)
HSVhsv(316, 67%, 95%)
CMYKcmyk(0%, 66.5%, 17.8%, 5.1%)
CIE-LABlab(60.68, 72.74, -28.95)
CIE-LCHlch(60.68, 78.29, 338.30°)
OKLaboklab(69.14% 0.2164 -0.078)
OKLCHoklch(69.14% 0.23 340.2)
XYZxyz(49.8704, 28.8903, 56.9717)
Luminance0.2889 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F251C7 #51F27C
analogous
#CC51F2 #F251C7 #F25176
triadic
#F251C7 #C7F251 #51C7F2
tetradic
#F251C7 #F2CC51 #51F27C #5176F2
square
#F251C7 #F2CC51 #51F27C #5176F2
split-complementary
#F251C7 #76F251 #51F2CC
monochromatic
#BB0E8D #EE18B5 #F251C7 #F68AD9 #FBC3EC

Accessibility & contrast

On white

3.10
#F251C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#F251C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F251C7
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F251C7#FFFFFF#000000##000000
##F251C71.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B82CA
Deuteranopia (green-blind)
#8D9CC3
Tritanopia (blue-blind)
#FF5585
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #f251c7;
/* rgb */ color: rgb(242, 81, 199);
/* oklch */ color: oklch(69.1% 0.230 340.2);
Tailwind
colors: {
  custom: {
    50: '#fa8dd8',
    500: '#f251c7',
    950: '#000000',
  },
}
SCSS
$custom: #f251c7;
$custom-light: #fa8dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#f251c7",
  "rgb": {
    "r": 242,
    "g": 81,
    "b": 199
  },
  "hsl": {
    "h": 316.025,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.69137,
    "c": 0.23006,
    "h": 340.2
  },
  "luminance": 0.28886
}

Semantic roles & 50–950 ramp

primary
#F251C7
secondary
#B3ECC2
accent
#E33F03
background
#FFF9FD
surface
#FFF1FA
border
#D7CBD3
text
#180D14
muted
#867E83

Preview Lab

Preview with #F251C7

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

Preview Lab → · Contrast checker → · Palette generator →

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