#CB5AAA#CB5AAA

#CB5AAA is a light, vivid pink. Relative luminance 0.229; OKLCH L 63.4% C 0.170 H 340.2°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#CB5AAA
RGBrgb(203, 90, 170)
HSLhsl(318, 52%, 57%)
HSVhsv(318, 56%, 80%)
CMYKcmyk(0%, 55.7%, 16.3%, 20.4%)
CIE-LABlab(54.98, 54.26, -21.54)
CIE-LCHlch(54.98, 58.37, 338.35°)
OKLaboklab(63.41% 0.1604 -0.0578)
OKLCHoklch(63.41% 0.17 340.2)
XYZxyz(35.5411, 22.9140, 40.5734)
Luminance0.2291 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5AAA #5ACB7B
analogous
#B35ACB #CB5AAA #CB5A72
triadic
#CB5AAA #AACB5A #5AAACB
tetradic
#CB5AAA #CBB35A #5ACB7B #5A72CB
square
#CB5AAA #CBB35A #5ACB7B #5A72CB
split-complementary
#CB5AAA #72CB5A #5ACBB3
monochromatic
#822968 #B0388D #CB5AAA #DA89C2 #E8B7DA

Accessibility & contrast

On white

3.76
#CB5AAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#CB5AAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5AAA
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5AAA#FFFFFF#000000##000000
##CB5AAA1.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6078AD
Deuteranopia (green-blind)
#808AA7
Tritanopia (blue-blind)
#D65C7A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cb5aaa;
/* rgb */ color: rgb(203, 90, 170);
/* oklch */ color: oklch(63.4% 0.170 340.2);
Tailwind
colors: {
  custom: {
    50: '#de8ec3',
    500: '#cb5aaa',
    950: '#000000',
  },
}
SCSS
$custom: #cb5aaa;
$custom-light: #de8ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5aaa",
  "rgb": {
    "r": 203,
    "g": 90,
    "b": 170
  },
  "hsl": {
    "h": 317.522,
    "s": 52.074,
    "l": 57.451
  },
  "oklch": {
    "l": 0.6341,
    "c": 0.17048,
    "h": 340.2
  },
  "luminance": 0.22911
}

Semantic roles & 50–950 ramp

primary
#CB5AAA
secondary
#AAD7B7
accent
#DC764C
background
#FDF9FC
surface
#FBF1F8
border
#D4CBD1
text
#150D12
muted
#837E81

Preview Lab

Preview with #CB5AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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