#FB7CD4#FB7CD4

#FB7CD4 is a light, vivid pink. Relative luminance 0.397; OKLCH L 75.9% C 0.184 H 340.5°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#FB7CD4
RGBrgb(251, 124, 212)
HSLhsl(318, 94%, 74%)
HSVhsv(318, 51%, 98%)
CMYKcmyk(0%, 50.6%, 15.5%, 1.6%)
CIE-LABlab(69.24, 58.80, -23.00)
CIE-LCHlch(69.24, 63.14, 338.64°)
OKLaboklab(75.87% 0.1735 -0.0615)
OKLCHoklch(75.87% 0.184 340.5)
XYZxyz(58.8758, 39.6824, 66.8331)
Luminance0.3968 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7CD4 #7CFBA3
analogous
#E27CFB #FB7CD4 #FB7C94
triadic
#FB7CD4 #D4FB7C #7CD4FB
tetradic
#FB7CD4 #FBE27C #7CFBA3 #7C94FB
square
#FB7CD4 #FBE27C #7CFBA3 #7C94FB
split-complementary
#FB7CD4 #94FB7C #7CFBE2
monochromatic
#F507AC #F941C1 #FB7CD4 #FDB7E7 #FEE1F5

Accessibility & contrast

On white

2.35
#FB7CD4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.94
#FB7CD4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7CD4
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7CD4#FFFFFF#000000##000000
##FB7CD41.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#829CD7
Deuteranopia (green-blind)
#A5B1D1
Tritanopia (blue-blind)
#FF7E9E
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #fb7cd4;
/* rgb */ color: rgb(251, 124, 212);
/* oklch */ color: oklch(75.9% 0.184 340.5);
Tailwind
colors: {
  custom: {
    50: '#ffa6e1',
    500: '#fb7cd4',
    950: '#000000',
  },
}
SCSS
$custom: #fb7cd4;
$custom-light: #ffa6e1;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7cd4",
  "rgb": {
    "r": 251,
    "g": 124,
    "b": 212
  },
  "hsl": {
    "h": 318.425,
    "s": 94.074,
    "l": 73.529
  },
  "oklch": {
    "l": 0.75868,
    "c": 0.18405,
    "h": 340.5
  },
  "luminance": 0.39678
}

Semantic roles & 50–950 ramp

primary
#FB7CD4
secondary
#D5F6DF
accent
#E64600
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#181015
muted
#867F83

Preview Lab

Preview with #FB7CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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