#CB54AB#CB54AB

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

Color values

HEX#CB54AB
RGBrgb(203, 84, 171)
HSLhsl(316, 53%, 56%)
HSVhsv(316, 59%, 80%)
CMYKcmyk(0%, 58.6%, 15.8%, 20.4%)
CIE-LABlab(54.01, 57.14, -23.62)
CIE-LCHlch(54.01, 61.83, 337.54°)
OKLaboklab(62.7% 0.1688 -0.0636)
OKLCHoklch(62.7% 0.18 339.4)
XYZxyz(35.1502, 21.9803, 40.9115)
Luminance0.2198 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB54AB #54CB74
analogous
#AF54CB #CB54AB #CB5470
triadic
#CB54AB #ABCB54 #54ABCB
tetradic
#CB54AB #CBAF54 #54CB74 #5470CB
square
#CB54AB #CBAF54 #54CB74 #5470CB
split-complementary
#CB54AB #70CB54 #54CBAF
monochromatic
#7E2667 #AD358D #CB54AB #D983C2 #E8B2D9

Accessibility & contrast

On white

3.89
#CB54AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#CB54AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB54AB
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB54AB#FFFFFF#000000##000000
##CB54AB1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5975AE
Deuteranopia (green-blind)
#7C88A8
Tritanopia (blue-blind)
#D65778
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cb54ab;
/* rgb */ color: rgb(203, 84, 171);
/* oklch */ color: oklch(62.7% 0.180 339.4);
Tailwind
colors: {
  custom: {
    50: '#de8ac4',
    500: '#cb54ab',
    950: '#000000',
  },
}
SCSS
$custom: #cb54ab;
$custom-light: #de8ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb54ab",
  "rgb": {
    "r": 203,
    "g": 84,
    "b": 171
  },
  "hsl": {
    "h": 316.134,
    "s": 53.363,
    "l": 56.275
  },
  "oklch": {
    "l": 0.62701,
    "c": 0.18034,
    "h": 339.4
  },
  "luminance": 0.21977
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB54AB

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

Preview Lab → · Contrast checker → · Palette generator →

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