#CB81BC#CB81BC

#CB81BC is a light, moderate pink. Relative luminance 0.320; OKLCH L 69.9% C 0.119 H 334.5°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#CB81BC
RGBrgb(203, 129, 188)
HSLhsl(312, 42%, 65%)
HSVhsv(312, 36%, 80%)
CMYKcmyk(0%, 36.5%, 7.4%, 20.4%)
CIE-LABlab(63.37, 37.39, -19.05)
CIE-LCHlch(63.37, 41.96, 333.00°)
OKLaboklab(69.91% 0.1071 -0.0512)
OKLCHoklch(69.91% 0.119 334.5)
XYZxyz(41.5557, 32.0299, 51.5607)
Luminance0.3203 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB81BC #81CB90
analogous
#B581CB #CB81BC #CB8197
triadic
#CB81BC #BCCB81 #81BCCB
tetradic
#CB81BC #CBB581 #81CB90 #8197CB
square
#CB81BC #CBB581 #81CB90 #8197CB
split-complementary
#CB81BC #97CB81 #81CBB5
monochromatic
#943D83 #B956A5 #CB81BC #DDACD3 #EFD8EA

Accessibility & contrast

On white

2.84
#CB81BC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#CB81BC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB81BC
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB81BC#FFFFFF#000000##000000
##CB81BC1.002.847.417.41
#FFFFFF2.841.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8193BE
Deuteranopia (green-blind)
#939DBA
Tritanopia (blue-blind)
#D28497
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cb81bc;
/* rgb */ color: rgb(203, 129, 188);
/* oklch */ color: oklch(69.9% 0.119 334.5);
Tailwind
colors: {
  custom: {
    50: '#dca7d0',
    500: '#cb81bc',
    950: '#000000',
  },
}
SCSS
$custom: #cb81bc;
$custom-light: #dca7d0;
$custom-dark: #000000;
JSON
{
  "hex": "#cb81bc",
  "rgb": {
    "r": 203,
    "g": 129,
    "b": 188
  },
  "hsl": {
    "h": 312.162,
    "s": 41.573,
    "l": 65.098
  },
  "oklch": {
    "l": 0.69907,
    "c": 0.11872,
    "h": 334.5
  },
  "luminance": 0.32028
}

Semantic roles & 50–950 ramp

primary
#CB81BC
secondary
#C7E0CC
accent
#B54C31
background
#FDFAFC
surface
#FBF4F9
border
#D4CED2
text
#150F14
muted
#837F82

Preview Lab

Preview with #CB81BC

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

Preview Lab → · Contrast checker → · Palette generator →

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