#F251CB#F251CB

#F251CB is a light, highly saturated pink. Relative luminance 0.291; OKLCH L 69.3% C 0.233 H 338.9°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#F251CB
RGBrgb(242, 81, 203)
HSLhsl(315, 86%, 63%)
HSVhsv(315, 67%, 95%)
CMYKcmyk(0%, 66.5%, 16.1%, 5.1%)
CIE-LABlab(60.85, 73.29, -30.96)
CIE-LCHlch(60.85, 79.56, 337.10°)
OKLaboklab(69.31% 0.2171 -0.0837)
OKLCHoklch(69.31% 0.233 338.9)
XYZxyz(50.3409, 29.0785, 59.4498)
Luminance0.2907 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F251CB #51F278
analogous
#C851F2 #F251CB #F2517A
triadic
#F251CB #CBF251 #51CBF2
tetradic
#F251CB #F2C851 #51F278 #517AF2
square
#F251CB #F2C851 #51F278 #517AF2
split-complementary
#F251CB #7AF251 #51F2C8
monochromatic
#BB0E91 #EE18BA #F251CB #F68ADC #FBC3ED

Accessibility & contrast

On white

3.08
#F251CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#F251CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F251CB
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F251CB#FFFFFF#000000##000000
##F251CB1.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5983CF
Deuteranopia (green-blind)
#8C9CC7
Tritanopia (blue-blind)
#FF5787
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #f251cb;
/* rgb */ color: rgb(242, 81, 203);
/* oklch */ color: oklch(69.3% 0.233 338.9);
Tailwind
colors: {
  custom: {
    50: '#fa8ddb',
    500: '#f251cb',
    950: '#000000',
  },
}
SCSS
$custom: #f251cb;
$custom-light: #fa8ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#f251cb",
  "rgb": {
    "r": 242,
    "g": 81,
    "b": 203
  },
  "hsl": {
    "h": 314.534,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.69312,
    "c": 0.23264,
    "h": 338.9
  },
  "luminance": 0.29074
}

Semantic roles & 50–950 ramp

primary
#F251CB
secondary
#B3ECC1
accent
#E33903
background
#FFF9FD
surface
#FFF1FB
border
#D7CBD4
text
#180D15
muted
#867E83

Preview Lab

Preview with #F251CB

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

Preview Lab → · Contrast checker → · Palette generator →

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