#FB8BD7#FB8BD7

#FB8BD7 is a light, vivid pink. Relative luminance 0.439; OKLCH L 78.1% C 0.162 H 340.5°. Best body text is #000000 at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#FB8BD7
RGBrgb(251, 139, 215)
HSLhsl(319, 93%, 76%)
HSVhsv(319, 45%, 98%)
CMYKcmyk(0%, 44.6%, 14.3%, 1.6%)
CIE-LABlab(72.15, 51.99, -20.23)
CIE-LCHlch(72.15, 55.79, 338.74°)
OKLaboklab(78.08% 0.1528 -0.054)
OKLCHoklch(78.08% 0.162 340.5)
XYZxyz(61.2826, 43.8849, 69.5196)
Luminance0.4388 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB8BD7 #8BFBAF
analogous
#E78BFB #FB8BD7 #FB8B9F
triadic
#FB8BD7 #D7FB8B #8BD7FB
tetradic
#FB8BD7 #FBE78B #8BFBAF #8B9FFB
square
#FB8BD7 #FBE78B #8BFBAF #8B9FFB
split-complementary
#FB8BD7 #9FFB8B #8BFBE7
monochromatic
#F715AE #F950C3 #FB8BD7 #FDC6EB #FEE1F5

Accessibility & contrast

On white

2.15
#FB8BD7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.78
#FB8BD7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB8BD7
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB8BD7#FFFFFF#000000##000000
##FB8BD71.002.159.789.78
#FFFFFF2.151.0021.0021.00
#0000009.7821.001.001.00
##0000009.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#90A6DA
Deuteranopia (green-blind)
#AEB7D4
Tritanopia (blue-blind)
#FF8DA8
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #fb8bd7;
/* rgb */ color: rgb(251, 139, 215);
/* oklch */ color: oklch(78.1% 0.162 340.5);
Tailwind
colors: {
  custom: {
    50: '#ffafe3',
    500: '#fb8bd7',
    950: '#000000',
  },
}
SCSS
$custom: #fb8bd7;
$custom-light: #ffafe3;
$custom-dark: #000000;
JSON
{
  "hex": "#fb8bd7",
  "rgb": {
    "r": 251,
    "g": 139,
    "b": 215
  },
  "hsl": {
    "h": 319.286,
    "s": 93.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.78077,
    "c": 0.16203,
    "h": 340.5
  },
  "luminance": 0.43881
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FB8BD7

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

Preview Lab → · Contrast checker → · Palette generator →

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