#CB54B2#CB54B2

#CB54B2 is a light, vivid pink. Relative luminance 0.223; OKLCH L 63.0% C 0.185 H 336.5°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#CB54B2
RGBrgb(203, 84, 178)
HSLhsl(313, 53%, 56%)
HSVhsv(313, 59%, 80%)
CMYKcmyk(0%, 58.6%, 12.3%, 20.4%)
CIE-LABlab(54.30, 58.21, -27.24)
CIE-LCHlch(54.30, 64.27, 334.92°)
OKLaboklab(63.01% 0.1701 -0.0738)
OKLCHoklch(63.01% 0.185 336.5)
XYZxyz(35.8352, 22.2543, 44.5190)
Luminance0.2225 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB54B2 #54CB6D
analogous
#A954CB #CB54B2 #CB5477
triadic
#CB54B2 #B2CB54 #54B2CB
tetradic
#CB54B2 #CBA954 #54CB6D #5477CB
square
#CB54B2 #CBA954 #54CB6D #5477CB
split-complementary
#CB54B2 #77CB54 #54CBA9
monochromatic
#7E266C #AD3594 #CB54B2 #D983C7 #E8B2DC

Accessibility & contrast

On white

3.85
#CB54B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#CB54B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB54B2
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB54B2#FFFFFF#000000##000000
##CB54B21.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5676B5
Deuteranopia (green-blind)
#7A88AF
Tritanopia (blue-blind)
#D55A7B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cb54b2;
/* rgb */ color: rgb(203, 84, 178);
/* oklch */ color: oklch(63.0% 0.185 336.5);
Tailwind
colors: {
  custom: {
    50: '#de8ac9',
    500: '#cb54b2',
    950: '#000000',
  },
}
SCSS
$custom: #cb54b2;
$custom-light: #de8ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb54b2",
  "rgb": {
    "r": 203,
    "g": 84,
    "b": 178
  },
  "hsl": {
    "h": 312.605,
    "s": 53.363,
    "l": 56.275
  },
  "oklch": {
    "l": 0.63009,
    "c": 0.18542,
    "h": 336.5
  },
  "luminance": 0.22252
}

Semantic roles & 50–950 ramp

primary
#CB54B2
secondary
#A5D6AF
accent
#DD6A4B
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#150C13
muted
#847D82

Preview Lab

Preview with #CB54B2

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

Preview Lab → · Contrast checker → · Palette generator →

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