#CB54A8#CB54A8

#CB54A8 is a light, vivid pink. Relative luminance 0.219; OKLCH L 62.6% C 0.178 H 340.6°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#CB54A8
RGBrgb(203, 84, 168)
HSLhsl(318, 53%, 56%)
HSVhsv(318, 59%, 80%)
CMYKcmyk(0%, 58.6%, 17.2%, 20.4%)
CIE-LABlab(53.89, 56.70, -22.05)
CIE-LCHlch(53.89, 60.84, 338.74°)
OKLaboklab(62.57% 0.1681 -0.0592)
OKLCHoklch(62.57% 0.178 340.6)
XYZxyz(34.8675, 21.8673, 39.4226)
Luminance0.2186 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB54A8 #54CB77
analogous
#B354CB #CB54A8 #CB546D
triadic
#CB54A8 #A8CB54 #54A8CB
tetradic
#CB54A8 #CBB354 #54CB77 #546DCB
square
#CB54A8 #CBB354 #54CB77 #546DCB
split-complementary
#CB54A8 #6DCB54 #54CBB3
monochromatic
#7E2664 #AD358A #CB54A8 #D983C0 #E8B2D8

Accessibility & contrast

On white

3.91
#CB54A8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#CB54A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB54A8
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB54A8#FFFFFF#000000##000000
##CB54A81.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B75AB
Deuteranopia (green-blind)
#7D88A5
Tritanopia (blue-blind)
#D65677
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cb54a8;
/* rgb */ color: rgb(203, 84, 168);
/* oklch */ color: oklch(62.6% 0.178 340.6);
Tailwind
colors: {
  custom: {
    50: '#de8ac2',
    500: '#cb54a8',
    950: '#000000',
  },
}
SCSS
$custom: #cb54a8;
$custom-light: #de8ac2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb54a8",
  "rgb": {
    "r": 203,
    "g": 84,
    "b": 168
  },
  "hsl": {
    "h": 317.647,
    "s": 53.363,
    "l": 56.275
  },
  "oklch": {
    "l": 0.62573,
    "c": 0.17824,
    "h": 340.6
  },
  "luminance": 0.21864
}

Semantic roles & 50–950 ramp

primary
#CB54A8
secondary
#A5D6B3
accent
#DD764B
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#150C12
muted
#847D81

Preview Lab

Preview with #CB54A8

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

Preview Lab → · Contrast checker → · Palette generator →

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