#FB7CDF#FB7CDF

#FB7CDF is a light, vivid pink. Relative luminance 0.403; OKLCH L 76.3% C 0.192 H 336.4°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#FB7CDF
RGBrgb(251, 124, 223)
HSLhsl(313, 94%, 74%)
HSVhsv(313, 51%, 98%)
CMYKcmyk(0%, 50.6%, 11.2%, 1.6%)
CIE-LABlab(69.65, 60.47, -28.48)
CIE-LCHlch(69.65, 66.84, 334.78°)
OKLaboklab(76.31% 0.1759 -0.0769)
OKLCHoklch(76.31% 0.192 336.4)
XYZxyz(60.3109, 40.2565, 74.3914)
Luminance0.4025 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7CDF #7CFB98
analogous
#D77CFB #FB7CDF #FB7C9F
triadic
#FB7CDF #DFFB7C #7CDFFB
tetradic
#FB7CDF #FBD77C #7CFB98 #7C9FFB
square
#FB7CDF #FBD77C #7CFB98 #7C9FFB
split-complementary
#FB7CDF #9FFB7C #7CFBD7
monochromatic
#F507C1 #F941D0 #FB7CDF #FDB7EE #FEE1F8

Accessibility & contrast

On white

2.32
#FB7CDF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.05
#FB7CDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7CDF
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7CDF#FFFFFF#000000##000000
##FB7CDF1.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E9EE2
Deuteranopia (green-blind)
#A2B1DC
Tritanopia (blue-blind)
#FF81A3
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #fb7cdf;
/* rgb */ color: rgb(251, 124, 223);
/* oklch */ color: oklch(76.3% 0.192 336.4);
Tailwind
colors: {
  custom: {
    50: '#ffa6e9',
    500: '#fb7cdf',
    950: '#000000',
  },
}
SCSS
$custom: #fb7cdf;
$custom-light: #ffa6e9;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7cdf",
  "rgb": {
    "r": 251,
    "g": 124,
    "b": 223
  },
  "hsl": {
    "h": 313.228,
    "s": 94.074,
    "l": 73.529
  },
  "oklch": {
    "l": 0.76306,
    "c": 0.19199,
    "h": 336.4
  },
  "luminance": 0.40252
}

Semantic roles & 50–950 ramp

primary
#FB7CDF
secondary
#D5F6DC
accent
#E63300
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#181016
muted
#867F84

Preview Lab

Preview with #FB7CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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