#CB7DB2#CB7DB2

#CB7DB2 is a light, moderate pink. Relative luminance 0.306; OKLCH L 68.9% C 0.118 H 339.8°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#CB7DB2
RGBrgb(203, 125, 178)
HSLhsl(319, 43%, 64%)
HSVhsv(319, 38%, 80%)
CMYKcmyk(0%, 38.4%, 12.3%, 20.4%)
CIE-LABlab(62.15, 37.83, -15.22)
CIE-LCHlch(62.15, 40.78, 338.08°)
OKLaboklab(68.87% 0.1104 -0.0406)
OKLCHoklch(68.87% 0.118 339.8)
XYZxyz(39.9982, 30.5804, 45.9067)
Luminance0.3058 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7DB2 #7DCB96
analogous
#BD7DCB #CB7DB2 #CB7D8B
triadic
#CB7DB2 #B2CB7D #7DB2CB
tetradic
#CB7DB2 #CBBD7D #7DCB96 #7D8BCB
square
#CB7DB2 #CBBD7D #7DCB96 #7D8BCB
split-complementary
#CB7DB2 #8BCB7D #7DCBBD
monochromatic
#933B77 #BA5198 #CB7DB2 #DCA9CC #EED4E6

Accessibility & contrast

On white

2.95
#CB7DB2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#CB7DB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7DB2
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7DB2#FFFFFF#000000##000000
##CB7DB21.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#808FB4
Deuteranopia (green-blind)
#949BB0
Tritanopia (blue-blind)
#D37E90
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cb7db2;
/* rgb */ color: rgb(203, 125, 178);
/* oklch */ color: oklch(68.9% 0.118 339.8);
Tailwind
colors: {
  custom: {
    50: '#dca4c9',
    500: '#cb7db2',
    950: '#000000',
  },
}
SCSS
$custom: #cb7db2;
$custom-light: #dca4c9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7db2",
  "rgb": {
    "r": 203,
    "g": 125,
    "b": 178
  },
  "hsl": {
    "h": 319.231,
    "s": 42.857,
    "l": 64.314
  },
  "oklch": {
    "l": 0.68872,
    "c": 0.11761,
    "h": 339.8
  },
  "luminance": 0.30578
}

Semantic roles & 50–950 ramp

primary
#CB7DB2
secondary
#C4DFCD
accent
#B65B30
background
#FDFAFC
surface
#FBF4F8
border
#D4CED1
text
#150F13
muted
#837F82

Preview Lab

Preview with #CB7DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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