#F251AB#F251AB

#F251AB is a light, highly saturated pink. Relative luminance 0.277; OKLCH L 68.0% C 0.214 H 349.8°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#F251AB
RGBrgb(242, 81, 171)
HSLhsl(326, 86%, 63%)
HSVhsv(326, 67%, 95%)
CMYKcmyk(0%, 66.5%, 29.3%, 5.1%)
CIE-LABlab(59.62, 69.18, -14.50)
CIE-LCHlch(59.62, 70.69, 348.16°)
OKLaboklab(68.01% 0.2106 -0.0378)
OKLCHoklch(68.01% 0.214 349.8)
XYZxyz(46.9133, 27.7074, 41.3977)
Luminance0.2770 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F251AB #51F298
analogous
#E951F2 #F251AB #F2515A
triadic
#F251AB #ABF251 #51ABF2
tetradic
#F251AB #F2E951 #51F298 #515AF2
square
#F251AB #F2E951 #51F298 #515AF2
split-complementary
#F251AB #5AF251 #51F2E9
monochromatic
#BB0E6E #EE1890 #F251AB #F68AC6 #FBC3E2

Accessibility & contrast

On white

3.21
#F251AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#F251AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #F251AB
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F251AB#FFFFFF#000000##000000
##F251AB1.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#687DAE
Deuteranopia (green-blind)
#969AA7
Tritanopia (blue-blind)
#FF4977
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #f251ab;
/* rgb */ color: rgb(242, 81, 171);
/* oklch */ color: oklch(68.0% 0.214 349.8);
Tailwind
colors: {
  custom: {
    50: '#fb8cc4',
    500: '#f251ab',
    950: '#000000',
  },
}
SCSS
$custom: #f251ab;
$custom-light: #fb8cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#f251ab",
  "rgb": {
    "r": 242,
    "g": 81,
    "b": 171
  },
  "hsl": {
    "h": 326.46,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.68012,
    "c": 0.21398,
    "h": 349.8
  },
  "luminance": 0.27702
}

Semantic roles & 50–950 ramp

primary
#F251AB
secondary
#B3ECCC
accent
#E36603
background
#FFF9FC
surface
#FFF1F8
border
#D7CBD1
text
#180D12
muted
#867E81

Preview Lab

Preview with #F251AB

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

Preview Lab → · Contrast checker → · Palette generator →

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