#CB45A6#CB45A6

#CB45A6 is a mid, vivid pink. Relative luminance 0.197; OKLCH L 60.8% C 0.198 H 340.5°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#CB45A6
RGBrgb(203, 69, 166)
HSLhsl(317, 56%, 53%)
HSVhsv(317, 66%, 80%)
CMYKcmyk(0%, 66%, 18.2%, 20.4%)
CIE-LABlab(51.51, 62.70, -24.55)
CIE-LCHlch(51.51, 67.34, 338.62°)
OKLaboklab(60.8% 0.1867 -0.066)
OKLCHoklch(60.8% 0.198 340.5)
XYZxyz(33.6405, 19.7090, 38.1015)
Luminance0.1971 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB45A6 #45CB6A
analogous
#AD45CB #CB45A6 #CB4563
triadic
#CB45A6 #A6CB45 #45A6CB
tetradic
#CB45A6 #CBAD45 #45CB6A #4563CB
square
#CB45A6 #CBAD45 #45CB6A #4563CB
split-complementary
#CB45A6 #63CB45 #45CBAD
monochromatic
#75215E #A52E84 #CB45A6 #D875BD #E6A5D4

Accessibility & contrast

On white

4.25
#CB45A6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#CB45A6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB45A6
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB45A6#FFFFFF#000000##000000
##CB45A61.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E6DA9
Deuteranopia (green-blind)
#7783A3
Tritanopia (blue-blind)
#D7486F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cb45a6;
/* rgb */ color: rgb(203, 69, 166);
/* oklch */ color: oklch(60.8% 0.198 340.5);
Tailwind
colors: {
  custom: {
    50: '#de82c0',
    500: '#cb45a6',
    950: '#000000',
  },
}
SCSS
$custom: #cb45a6;
$custom-light: #de82c0;
$custom-dark: #000000;
JSON
{
  "hex": "#cb45a6",
  "rgb": {
    "r": 203,
    "g": 69,
    "b": 166
  },
  "hsl": {
    "h": 316.567,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.608,
    "c": 0.19801,
    "h": 340.5
  },
  "luminance": 0.19706
}

Semantic roles & 50–950 ramp

primary
#CB45A6
secondary
#99D3A9
accent
#E07248
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CB45A6

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

Preview Lab → · Contrast checker → · Palette generator →

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