#FB7CD5#FB7CD5

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

Color values

HEX#FB7CD5
RGBrgb(251, 124, 213)
HSLhsl(318, 94%, 74%)
HSVhsv(318, 51%, 98%)
CMYKcmyk(0%, 50.6%, 15.1%, 1.6%)
CIE-LABlab(69.28, 58.95, -23.50)
CIE-LCHlch(69.28, 63.46, 338.26°)
OKLaboklab(75.91% 0.1737 -0.063)
OKLCHoklch(75.91% 0.185 340.1)
XYZxyz(59.0024, 39.7330, 67.4995)
Luminance0.3973 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7CD5 #7CFBA2
analogous
#E27CFB #FB7CD5 #FB7C95
triadic
#FB7CD5 #D5FB7C #7CD5FB
tetradic
#FB7CD5 #FBE27C #7CFBA2 #7C95FB
square
#FB7CD5 #FBE27C #7CFBA2 #7C95FB
split-complementary
#FB7CD5 #95FB7C #7CFBE2
monochromatic
#F507AE #F941C2 #FB7CD5 #FDB7E8 #FEE1F5

Accessibility & contrast

On white

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

On black

8.95
#FB7CD5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7CD5
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7CD5#FFFFFF#000000##000000
##FB7CD51.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#829DD8
Deuteranopia (green-blind)
#A5B1D2
Tritanopia (blue-blind)
#FF7E9F
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #fb7cd5;
/* rgb */ color: rgb(251, 124, 213);
/* oklch */ color: oklch(75.9% 0.185 340.1);
Tailwind
colors: {
  custom: {
    50: '#ffa6e2',
    500: '#fb7cd5',
    950: '#000000',
  },
}
SCSS
$custom: #fb7cd5;
$custom-light: #ffa6e2;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7cd5",
  "rgb": {
    "r": 251,
    "g": 124,
    "b": 213
  },
  "hsl": {
    "h": 317.953,
    "s": 94.074,
    "l": 73.529
  },
  "oklch": {
    "l": 0.75907,
    "c": 0.18475,
    "h": 340.1
  },
  "luminance": 0.39729
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FB7CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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