#FB8CD7#FB8CD7

#FB8CD7 is a light, vivid pink. Relative luminance 0.442; OKLCH L 78.2% C 0.160 H 340.6°. Best body text is #000000 at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#FB8CD7
RGBrgb(251, 140, 215)
HSLhsl(319, 93%, 77%)
HSVhsv(319, 44%, 98%)
CMYKcmyk(0%, 44.2%, 14.3%, 1.6%)
CIE-LABlab(72.35, 51.49, -19.94)
CIE-LCHlch(72.35, 55.22, 338.83°)
OKLaboklab(78.22% 0.1513 -0.0532)
OKLCHoklch(78.22% 0.16 340.6)
XYZxyz(61.4281, 44.1758, 69.5681)
Luminance0.4417 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB8CD7 #8CFBB0
analogous
#E78CFB #FB8CD7 #FB8CA0
triadic
#FB8CD7 #D7FB8C #8CD7FB
tetradic
#FB8CD7 #FBE78C #8CFBB0 #8CA0FB
square
#FB8CD7 #FBE78C #8CFBB0 #8CA0FB
split-complementary
#FB8CD7 #A0FB8C #8CFBE7
monochromatic
#F716AE #F951C2 #FB8CD7 #FDC7EC #FEE1F5

Accessibility & contrast

On white

2.14
#FB8CD7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.83
#FB8CD7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB8CD7
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB8CD7#FFFFFF#000000##000000
##FB8CD71.002.149.839.83
#FFFFFF2.141.0021.0021.00
#0000009.8321.001.001.00
##0000009.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#91A7DA
Deuteranopia (green-blind)
#AEB8D4
Tritanopia (blue-blind)
#FF8EA8
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #fb8cd7;
/* rgb */ color: rgb(251, 140, 215);
/* oklch */ color: oklch(78.2% 0.160 340.6);
Tailwind
colors: {
  custom: {
    50: '#ffb0e3',
    500: '#fb8cd7',
    950: '#000000',
  },
}
SCSS
$custom: #fb8cd7;
$custom-light: #ffb0e3;
$custom-dark: #000000;
JSON
{
  "hex": "#fb8cd7",
  "rgb": {
    "r": 251,
    "g": 140,
    "b": 215
  },
  "hsl": {
    "h": 319.459,
    "s": 93.277,
    "l": 76.667
  },
  "oklch": {
    "l": 0.78223,
    "c": 0.16038,
    "h": 340.6
  },
  "luminance": 0.44172
}

Semantic roles & 50–950 ramp

primary
#FB8CD7
secondary
#D5F6E0
accent
#E64A00
background
#FFFBFD
surface
#FFF6FB
border
#D7D0D4
text
#181115
muted
#868083

Preview Lab

Preview with #FB8CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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