#CB4AB2#CB4AB2

#CB4AB2 is a mid, vivid pink. Relative luminance 0.208; OKLCH L 61.9% C 0.200 H 336.2°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#CB4AB2
RGBrgb(203, 74, 178)
HSLhsl(312, 55%, 54%)
HSVhsv(312, 64%, 80%)
CMYKcmyk(0%, 63.5%, 12.3%, 20.4%)
CIE-LABlab(52.74, 62.47, -29.65)
CIE-LCHlch(52.74, 69.15, 334.61°)
OKLaboklab(61.87% 0.1827 -0.0805)
OKLCHoklch(61.87% 0.2 336.2)
XYZxyz(35.1137, 20.8113, 44.2785)
Luminance0.2081 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4AB2 #4ACB63
analogous
#A44ACB #CB4AB2 #CB4A72
triadic
#CB4AB2 #B2CB4A #4AB2CB
tetradic
#CB4AB2 #CBA44A #4ACB63 #4A72CB
square
#CB4AB2 #CBA44A #4ACB63 #4A72CB
split-complementary
#CB4AB2 #72CB4A #4ACBA4
monochromatic
#782368 #A83090 #CB4AB2 #D97AC6 #E6A9DA

Accessibility & contrast

On white

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

On black

5.16
#CB4AB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4AB2
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4AB2#FFFFFF#000000##000000
##CB4AB21.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cb4ab2;
/* rgb */ color: rgb(203, 74, 178);
/* oklch */ color: oklch(61.9% 0.200 336.2);
Tailwind
colors: {
  custom: {
    50: '#de85c9',
    500: '#cb4ab2',
    950: '#000000',
  },
}
SCSS
$custom: #cb4ab2;
$custom-light: #de85c9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4ab2",
  "rgb": {
    "r": 203,
    "g": 74,
    "b": 178
  },
  "hsl": {
    "h": 311.628,
    "s": 55.365,
    "l": 54.314
  },
  "oklch": {
    "l": 0.61871,
    "c": 0.19964,
    "h": 336.2
  },
  "luminance": 0.20808
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB4AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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