#CB54B0#CB54B0

#CB54B0 is a light, vivid pink. Relative luminance 0.222; OKLCH L 62.9% C 0.184 H 337.3°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#CB54B0
RGBrgb(203, 84, 176)
HSLhsl(314, 53%, 56%)
HSVhsv(314, 59%, 80%)
CMYKcmyk(0%, 58.6%, 13.3%, 20.4%)
CIE-LABlab(54.21, 57.90, -26.21)
CIE-LCHlch(54.21, 63.56, 335.64°)
OKLaboklab(62.92% 0.1697 -0.0709)
OKLCHoklch(62.92% 0.184 337.3)
XYZxyz(35.6358, 22.1746, 43.4691)
Luminance0.2217 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB54B0 #54CB6F
analogous
#AA54CB #CB54B0 #CB5475
triadic
#CB54B0 #B0CB54 #54B0CB
tetradic
#CB54B0 #CBAA54 #54CB6F #5475CB
square
#CB54B0 #CBAA54 #54CB6F #5475CB
split-complementary
#CB54B0 #75CB54 #54CBAA
monochromatic
#7E266A #AD3592 #CB54B0 #D983C6 #E8B2DB

Accessibility & contrast

On white

3.86
#CB54B0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#CB54B0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB54B0
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB54B0#FFFFFF#000000##000000
##CB54B01.003.865.435.43
#FFFFFF3.861.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5776B3
Deuteranopia (green-blind)
#7B88AD
Tritanopia (blue-blind)
#D5597A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cb54b0;
/* rgb */ color: rgb(203, 84, 176);
/* oklch */ color: oklch(62.9% 0.184 337.3);
Tailwind
colors: {
  custom: {
    50: '#de8ac8',
    500: '#cb54b0',
    950: '#000000',
  },
}
SCSS
$custom: #cb54b0;
$custom-light: #de8ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#cb54b0",
  "rgb": {
    "r": 203,
    "g": 84,
    "b": 176
  },
  "hsl": {
    "h": 313.613,
    "s": 53.363,
    "l": 56.275
  },
  "oklch": {
    "l": 0.6292,
    "c": 0.18394,
    "h": 337.3
  },
  "luminance": 0.22172
}

Semantic roles & 50–950 ramp

primary
#CB54B0
secondary
#A5D6B0
accent
#DD6C4B
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#150C13
muted
#847D82

Preview Lab

Preview with #CB54B0

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

Preview Lab → · Contrast checker → · Palette generator →

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