#CB45AA#CB45AA

#CB45AA is a mid, highly saturated pink. Relative luminance 0.199; OKLCH L 61.0% C 0.201 H 339.0°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#CB45AA
RGBrgb(203, 69, 170)
HSLhsl(315, 56%, 53%)
HSVhsv(315, 66%, 80%)
CMYKcmyk(0%, 66%, 16.3%, 20.4%)
CIE-LABlab(51.68, 63.27, -26.63)
CIE-LCHlch(51.68, 68.65, 337.17°)
OKLaboklab(60.98% 0.1874 -0.0719)
OKLCHoklch(60.98% 0.201 339)
XYZxyz(34.0131, 19.8581, 40.0641)
Luminance0.1986 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB45AA #45CB66
analogous
#A945CB #CB45AA #CB4567
triadic
#CB45AA #AACB45 #45AACB
tetradic
#CB45AA #CBA945 #45CB66 #4567CB
square
#CB45AA #CBA945 #45CB66 #4567CB
split-complementary
#CB45AA #67CB45 #45CBA9
monochromatic
#752160 #A52E88 #CB45AA #D875C0 #E6A5D6

Accessibility & contrast

On white

4.22
#CB45AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#CB45AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB45AA
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB45AA#FFFFFF#000000##000000
##CB45AA1.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B6EAD
Deuteranopia (green-blind)
#7583A7
Tritanopia (blue-blind)
#D64A71
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cb45aa;
/* rgb */ color: rgb(203, 69, 170);
/* oklch */ color: oklch(61.0% 0.201 339.0);
Tailwind
colors: {
  custom: {
    50: '#de82c3',
    500: '#cb45aa',
    950: '#000000',
  },
}
SCSS
$custom: #cb45aa;
$custom-light: #de82c3;
$custom-dark: #000000;
JSON
{
  "hex": "#cb45aa",
  "rgb": {
    "r": 203,
    "g": 69,
    "b": 170
  },
  "hsl": {
    "h": 314.776,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.60979,
    "c": 0.20069,
    "h": 339
  },
  "luminance": 0.19855
}

Semantic roles & 50–950 ramp

primary
#CB45AA
secondary
#99D3A7
accent
#E06D48
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B12
muted
#847C81

Preview Lab

Preview with #CB45AA

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

Preview Lab → · Contrast checker → · Palette generator →

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