#CA45A5#CA45A5

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

Color values

HEX#CA45A5
RGBrgb(202, 69, 165)
HSLhsl(317, 56%, 53%)
HSVhsv(317, 66%, 79%)
CMYKcmyk(0%, 65.8%, 18.3%, 20.8%)
CIE-LABlab(51.30, 62.30, -24.28)
CIE-LCHlch(51.30, 66.86, 338.71°)
OKLaboklab(60.61% 0.1855 -0.0653)
OKLCHoklch(60.61% 0.197 340.6)
XYZxyz(33.2776, 19.5325, 37.6076)
Luminance0.1953 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA45A5 #45CA6A
analogous
#AD45CA #CA45A5 #CA4562
triadic
#CA45A5 #A5CA45 #45A5CA
tetradic
#CA45A5 #CAAD45 #45CA6A #4562CA
square
#CA45A5 #CAAD45 #45CA6A #4562CA
split-complementary
#CA45A5 #62CA45 #45CAAD
monochromatic
#74215D #A32F83 #CA45A5 #D875BC #E5A4D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA45A5#FFFFFF#000000##000000
##CA45A51.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)
#4E6DA8
Deuteranopia (green-blind)
#7682A2
Tritanopia (blue-blind)
#D6486F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ca45a5;
/* rgb */ color: rgb(202, 69, 165);
/* oklch */ color: oklch(60.6% 0.197 340.6);
Tailwind
colors: {
  custom: {
    50: '#de82c0',
    500: '#ca45a5',
    950: '#000000',
  },
}
SCSS
$custom: #ca45a5;
$custom-light: #de82c0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca45a5",
  "rgb": {
    "r": 202,
    "g": 69,
    "b": 165
  },
  "hsl": {
    "h": 316.692,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.60607,
    "c": 0.19666,
    "h": 340.6
  },
  "luminance": 0.19529
}

Semantic roles & 50–950 ramp

primary
#CA45A5
secondary
#99D2A9
accent
#DF7349
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CA45A5

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

Preview Lab → · Contrast checker → · Palette generator →

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