#CB45A4#CB45A4

#CB45A4 is a mid, vivid pink. Relative luminance 0.196; OKLCH L 60.7% C 0.197 H 341.3°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#CB45A4
RGBrgb(203, 69, 164)
HSLhsl(317, 56%, 53%)
HSVhsv(317, 66%, 80%)
CMYKcmyk(0%, 66%, 19.2%, 20.4%)
CIE-LABlab(51.42, 62.42, -23.50)
CIE-LCHlch(51.42, 66.70, 339.37°)
OKLaboklab(60.71% 0.1863 -0.0631)
OKLCHoklch(60.71% 0.197 341.3)
XYZxyz(33.4585, 19.6362, 37.1428)
Luminance0.1963 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB45A4 #45CB6C
analogous
#AF45CB #CB45A4 #CB4561
triadic
#CB45A4 #A4CB45 #45A4CB
tetradic
#CB45A4 #CBAF45 #45CB6C #4561CB
square
#CB45A4 #CBAF45 #45CB6C #4561CB
split-complementary
#CB45A4 #61CB45 #45CBAF
monochromatic
#75215C #A52E82 #CB45A4 #D875BB #E6A5D3

Accessibility & contrast

On white

4.26
#CB45A4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#CB45A4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB45A4
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB45A4#FFFFFF#000000##000000
##CB45A41.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F6DA7
Deuteranopia (green-blind)
#7782A1
Tritanopia (blue-blind)
#D7476E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cb45a4;
/* rgb */ color: rgb(203, 69, 164);
/* oklch */ color: oklch(60.7% 0.197 341.3);
Tailwind
colors: {
  custom: {
    50: '#de82bf',
    500: '#cb45a4',
    950: '#000000',
  },
}
SCSS
$custom: #cb45a4;
$custom-light: #de82bf;
$custom-dark: #000000;
JSON
{
  "hex": "#cb45a4",
  "rgb": {
    "r": 203,
    "g": 69,
    "b": 164
  },
  "hsl": {
    "h": 317.463,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.60712,
    "c": 0.19669,
    "h": 341.3
  },
  "luminance": 0.19633
}

Semantic roles & 50–950 ramp

primary
#CB45A4
secondary
#99D3AA
accent
#E07448
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CB45A4

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

Preview Lab → · Contrast checker → · Palette generator →

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