#CB4AB1#CB4AB1

#CB4AB1 is a mid, vivid pink. Relative luminance 0.208; OKLCH L 61.8% C 0.199 H 336.6°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#CB4AB1
RGBrgb(203, 74, 177)
HSLhsl(312, 55%, 54%)
HSVhsv(312, 64%, 80%)
CMYKcmyk(0%, 63.5%, 12.8%, 20.4%)
CIE-LABlab(52.70, 62.32, -29.14)
CIE-LCHlch(52.70, 68.79, 334.94°)
OKLaboklab(61.83% 0.1825 -0.0791)
OKLCHoklch(61.83% 0.199 336.6)
XYZxyz(35.0136, 20.7713, 43.7516)
Luminance0.2077 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4AB1 #4ACB64
analogous
#A54ACB #CB4AB1 #CB4A71
triadic
#CB4AB1 #B1CB4A #4AB1CB
tetradic
#CB4AB1 #CBA54A #4ACB64 #4A71CB
square
#CB4AB1 #CBA54A #4ACB64 #4A71CB
split-complementary
#CB4AB1 #71CB4A #4ACBA5
monochromatic
#782367 #A83090 #CB4AB1 #D97AC5 #E6A9DA

Accessibility & contrast

On white

4.07
#CB4AB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#CB4AB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4AB1
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4AB1#FFFFFF#000000##000000
##CB4AB11.004.075.155.15
#FFFFFF4.071.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C71B4
Deuteranopia (green-blind)
#7585AE
Tritanopia (blue-blind)
#D55177
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cb4ab1;
/* rgb */ color: rgb(203, 74, 177);
/* oklch */ color: oklch(61.8% 0.199 336.6);
Tailwind
colors: {
  custom: {
    50: '#de85c8',
    500: '#cb4ab1',
    950: '#000000',
  },
}
SCSS
$custom: #cb4ab1;
$custom-light: #de85c8;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4ab1",
  "rgb": {
    "r": 203,
    "g": 74,
    "b": 177
  },
  "hsl": {
    "h": 312.093,
    "s": 55.365,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61825,
    "c": 0.19892,
    "h": 336.6
  },
  "luminance": 0.20768
}

Semantic roles & 50–950 ramp

primary
#CB4AB1
secondary
#9DD4A8
accent
#DF6749
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #CB4AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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