#CB45A1#CB45A1

#CB45A1 is a mid, vivid pink. Relative luminance 0.195; OKLCH L 60.6% C 0.195 H 342.5°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#CB45A1
RGBrgb(203, 69, 161)
HSLhsl(319, 56%, 53%)
HSVhsv(319, 66%, 80%)
CMYKcmyk(0%, 66%, 20.7%, 20.4%)
CIE-LABlab(51.30, 62.01, -21.92)
CIE-LCHlch(51.30, 65.77, 340.53°)
OKLaboklab(60.58% 0.1857 -0.0587)
OKLCHoklch(60.58% 0.195 342.5)
XYZxyz(33.1907, 19.5291, 35.7328)
Luminance0.1953 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB45A1 #45CB6F
analogous
#B245CB #CB45A1 #CB455E
triadic
#CB45A1 #A1CB45 #45A1CB
tetradic
#CB45A1 #CBB245 #45CB6F #455ECB
square
#CB45A1 #CBB245 #45CB6F #455ECB
split-complementary
#CB45A1 #5ECB45 #45CBB2
monochromatic
#75215B #A52E80 #CB45A1 #D875B9 #E6A5D1

Accessibility & contrast

On white

4.28
#CB45A1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#CB45A1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB45A1
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB45A1#FFFFFF#000000##000000
##CB45A11.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#506CA4
Deuteranopia (green-blind)
#78829E
Tritanopia (blue-blind)
#D7466D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cb45a1;
/* rgb */ color: rgb(203, 69, 161);
/* oklch */ color: oklch(60.6% 0.195 342.5);
Tailwind
colors: {
  custom: {
    50: '#de82bd',
    500: '#cb45a1',
    950: '#000000',
  },
}
SCSS
$custom: #cb45a1;
$custom-light: #de82bd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb45a1",
  "rgb": {
    "r": 203,
    "g": 69,
    "b": 161
  },
  "hsl": {
    "h": 318.806,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.60582,
    "c": 0.19477,
    "h": 342.5
  },
  "luminance": 0.19526
}

Semantic roles & 50–950 ramp

primary
#CB45A1
secondary
#99D3AB
accent
#E07848
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CB45A1

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

Preview Lab → · Contrast checker → · Palette generator →

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