#CB54AA#CB54AA

#CB54AA is a light, vivid pink. Relative luminance 0.219; OKLCH L 62.7% C 0.180 H 339.8°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#CB54AA
RGBrgb(203, 84, 170)
HSLhsl(317, 53%, 56%)
HSVhsv(317, 59%, 80%)
CMYKcmyk(0%, 58.6%, 16.3%, 20.4%)
CIE-LABlab(53.97, 56.99, -23.10)
CIE-LCHlch(53.97, 61.50, 337.94°)
OKLaboklab(62.66% 0.1686 -0.0621)
OKLCHoklch(62.66% 0.18 339.8)
XYZxyz(35.0553, 21.9424, 40.4114)
Luminance0.2194 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB54AA #54CB75
analogous
#B154CB #CB54AA #CB546F
triadic
#CB54AA #AACB54 #54AACB
tetradic
#CB54AA #CBB154 #54CB75 #546FCB
square
#CB54AA #CBB154 #54CB75 #546FCB
split-complementary
#CB54AA #6FCB54 #54CBB1
monochromatic
#7E2666 #AD358C #CB54AA #D983C1 #E8B2D9

Accessibility & contrast

On white

3.90
#CB54AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#CB54AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB54AA
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB54AA#FFFFFF#000000##000000
##CB54AA1.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A75AD
Deuteranopia (green-blind)
#7D88A7
Tritanopia (blue-blind)
#D65778
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cb54aa;
/* rgb */ color: rgb(203, 84, 170);
/* oklch */ color: oklch(62.7% 0.180 339.8);
Tailwind
colors: {
  custom: {
    50: '#de8ac3',
    500: '#cb54aa',
    950: '#000000',
  },
}
SCSS
$custom: #cb54aa;
$custom-light: #de8ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#cb54aa",
  "rgb": {
    "r": 203,
    "g": 84,
    "b": 170
  },
  "hsl": {
    "h": 316.639,
    "s": 53.363,
    "l": 56.275
  },
  "oklch": {
    "l": 0.62658,
    "c": 0.17964,
    "h": 339.8
  },
  "luminance": 0.21939
}

Semantic roles & 50–950 ramp

primary
#CB54AA
secondary
#A5D6B2
accent
#DD734B
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#150C12
muted
#847D81

Preview Lab

Preview with #CB54AA

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

Preview Lab → · Contrast checker → · Palette generator →

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