#FB7BD5#FB7BD5

#FB7BD5 is a light, vivid pink. Relative luminance 0.395; OKLCH L 75.8% C 0.186 H 340.0°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#FB7BD5
RGBrgb(251, 123, 213)
HSLhsl(318, 94%, 73%)
HSVhsv(318, 51%, 98%)
CMYKcmyk(0%, 51%, 15.1%, 1.6%)
CIE-LABlab(69.10, 59.42, -23.77)
CIE-LCHlch(69.10, 64.00, 338.19°)
OKLaboklab(75.77% 0.1751 -0.0637)
OKLCHoklch(75.77% 0.186 340)
XYZxyz(58.8777, 39.4837, 67.4580)
Luminance0.3948 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FB7BD5 #7BFBA1
analogous
#E17BFB #FB7BD5 #FB7B95
triadic
#FB7BD5 #D5FB7B #7BD5FB
tetradic
#FB7BD5 #FBE17B #7BFBA1 #7B95FB
square
#FB7BD5 #FBE17B #7BFBA1 #7B95FB
split-complementary
#FB7BD5 #95FB7B #7BFBE1
monochromatic
#F407AE #F940C2 #FB7BD5 #FDB6E8 #FEE1F6

Accessibility & contrast

On white

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

On black

8.90
#FB7BD5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FB7BD5
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FB7BD5#FFFFFF#000000##000000
##FB7BD51.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#819CD8
Deuteranopia (green-blind)
#A4B0D2
Tritanopia (blue-blind)
#FF7E9E
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #fb7bd5;
/* rgb */ color: rgb(251, 123, 213);
/* oklch */ color: oklch(75.8% 0.186 340.0);
Tailwind
colors: {
  custom: {
    50: '#ffa5e2',
    500: '#fb7bd5',
    950: '#000000',
  },
}
SCSS
$custom: #fb7bd5;
$custom-light: #ffa5e2;
$custom-dark: #000000;
JSON
{
  "hex": "#fb7bd5",
  "rgb": {
    "r": 251,
    "g": 123,
    "b": 213
  },
  "hsl": {
    "h": 317.813,
    "s": 94.118,
    "l": 73.333
  },
  "oklch": {
    "l": 0.75774,
    "c": 0.18631,
    "h": 340
  },
  "luminance": 0.39479
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FB7BD5

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

Preview Lab → · Contrast checker → · Palette generator →

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