#FB7CD7#FB7CD7

#FB7CD7 is a light, vivid pink. Relative luminance 0.398; OKLCH L 76.0% C 0.186 H 339.3°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#FB7CD7
RGBrgb(251, 124, 215)
HSLhsl(317, 94%, 74%)
HSVhsv(317, 51%, 98%)
CMYKcmyk(0%, 50.6%, 14.3%, 1.6%)
CIE-LABlab(69.35, 59.25, -24.50)
CIE-LCHlch(69.35, 64.11, 337.53°)
OKLaboklab(75.99% 0.1742 -0.0657)
OKLCHoklch(75.99% 0.186 339.3)
XYZxyz(59.2578, 39.8352, 68.8447)
Luminance0.3983 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7CD7 #7CFBA0
analogous
#DF7CFB #FB7CD7 #FB7C97
triadic
#FB7CD7 #D7FB7C #7CD7FB
tetradic
#FB7CD7 #FBDF7C #7CFBA0 #7C97FB
square
#FB7CD7 #FBDF7C #7CFBA0 #7C97FB
split-complementary
#FB7CD7 #97FB7C #7CFBDF
monochromatic
#F507B2 #F941C5 #FB7CD7 #FDB7E9 #FEE1F6

Accessibility & contrast

On white

2.34
#FB7CD7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.97
#FB7CD7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7CD7
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7CD7#FFFFFF#000000##000000
##FB7CD71.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#819DDA
Deuteranopia (green-blind)
#A4B1D4
Tritanopia (blue-blind)
#FF7FA0
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #fb7cd7;
/* rgb */ color: rgb(251, 124, 215);
/* oklch */ color: oklch(76.0% 0.186 339.3);
Tailwind
colors: {
  custom: {
    50: '#ffa6e3',
    500: '#fb7cd7',
    950: '#000000',
  },
}
SCSS
$custom: #fb7cd7;
$custom-light: #ffa6e3;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7cd7",
  "rgb": {
    "r": 251,
    "g": 124,
    "b": 215
  },
  "hsl": {
    "h": 317.008,
    "s": 94.074,
    "l": 73.529
  },
  "oklch": {
    "l": 0.75985,
    "c": 0.18615,
    "h": 339.3
  },
  "luminance": 0.39831
}

Semantic roles & 50–950 ramp

primary
#FB7CD7
secondary
#D5F6DE
accent
#E64100
background
#FFFAFD
surface
#FFF4FB
border
#D7CED4
text
#181015
muted
#867F83

Preview Lab

Preview with #FB7CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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