#CB54AF#CB54AF

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

Color values

HEX#CB54AF
RGBrgb(203, 84, 175)
HSLhsl(314, 53%, 56%)
HSVhsv(314, 59%, 80%)
CMYKcmyk(0%, 58.6%, 13.8%, 20.4%)
CIE-LABlab(54.17, 57.75, -25.69)
CIE-LCHlch(54.17, 63.21, 336.01°)
OKLaboklab(62.88% 0.1696 -0.0694)
OKLCHoklch(62.88% 0.183 337.7)
XYZxyz(35.5373, 22.1352, 42.9500)
Luminance0.2213 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB54AF #54CB70
analogous
#AC54CB #CB54AF #CB5474
triadic
#CB54AF #AFCB54 #54AFCB
tetradic
#CB54AF #CBAC54 #54CB70 #5474CB
square
#CB54AF #CBAC54 #54CB70 #5474CB
split-complementary
#CB54AF #74CB54 #54CBAC
monochromatic
#7E266A #AD3591 #CB54AF #D983C5 #E8B2DB

Accessibility & contrast

On white

3.87
#CB54AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB54AF#FFFFFF#000000##000000
##CB54AF1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5776B2
Deuteranopia (green-blind)
#7B88AC
Tritanopia (blue-blind)
#D5597A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cb54af;
/* rgb */ color: rgb(203, 84, 175);
/* oklch */ color: oklch(62.9% 0.183 337.7);
Tailwind
colors: {
  custom: {
    50: '#de8ac7',
    500: '#cb54af',
    950: '#000000',
  },
}
SCSS
$custom: #cb54af;
$custom-light: #de8ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb54af",
  "rgb": {
    "r": 203,
    "g": 84,
    "b": 175
  },
  "hsl": {
    "h": 314.118,
    "s": 53.363,
    "l": 56.275
  },
  "oklch": {
    "l": 0.62875,
    "c": 0.18321,
    "h": 337.7
  },
  "luminance": 0.22132
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB54AF

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

Preview Lab → · Contrast checker → · Palette generator →

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