#FB7BD4#FB7BD4

#FB7BD4 is a light, vivid pink. Relative luminance 0.394; OKLCH L 75.7% C 0.186 H 340.4°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#FB7BD4
RGBrgb(251, 123, 212)
HSLhsl(318, 94%, 73%)
HSVhsv(318, 51%, 98%)
CMYKcmyk(0%, 51%, 15.5%, 1.6%)
CIE-LABlab(69.06, 59.27, -23.27)
CIE-LCHlch(69.06, 63.67, 338.56°)
OKLaboklab(75.74% 0.1749 -0.0623)
OKLCHoklch(75.74% 0.186 340.4)
XYZxyz(58.7511, 39.4331, 66.7916)
Luminance0.3943 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7BD4 #7BFBA2
analogous
#E27BFB #FB7BD4 #FB7B94
triadic
#FB7BD4 #D4FB7B #7BD4FB
tetradic
#FB7BD4 #FBE27B #7BFBA2 #7B94FB
square
#FB7BD4 #FBE27B #7BFBA2 #7B94FB
split-complementary
#FB7BD4 #94FB7B #7BFBE2
monochromatic
#F407AC #F940C1 #FB7BD4 #FDB6E7 #FEE1F5

Accessibility & contrast

On white

2.36
#FB7BD4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.89
#FB7BD4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7BD4
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7BD4#FFFFFF#000000##000000
##FB7BD41.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#819CD7
Deuteranopia (green-blind)
#A5B0D1
Tritanopia (blue-blind)
#FF7D9E
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #fb7bd4;
/* rgb */ color: rgb(251, 123, 212);
/* oklch */ color: oklch(75.7% 0.186 340.4);
Tailwind
colors: {
  custom: {
    50: '#ffa5e1',
    500: '#fb7bd4',
    950: '#000000',
  },
}
SCSS
$custom: #fb7bd4;
$custom-light: #ffa5e1;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7bd4",
  "rgb": {
    "r": 251,
    "g": 123,
    "b": 212
  },
  "hsl": {
    "h": 318.281,
    "s": 94.118,
    "l": 73.333
  },
  "oklch": {
    "l": 0.75735,
    "c": 0.18562,
    "h": 340.4
  },
  "luminance": 0.39429
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FB7BD4

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

Preview Lab → · Contrast checker → · Palette generator →

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