#CA45AA#CA45AA

#CA45AA is a mid, highly saturated pink. Relative luminance 0.197; OKLCH L 60.8% C 0.200 H 338.7°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#CA45AA
RGBrgb(202, 69, 170)
HSLhsl(314, 56%, 53%)
HSVhsv(314, 66%, 79%)
CMYKcmyk(0%, 65.8%, 15.8%, 20.8%)
CIE-LABlab(51.52, 63.01, -26.89)
CIE-LCHlch(51.52, 68.51, 336.89°)
OKLaboklab(60.83% 0.1863 -0.0727)
OKLCHoklch(60.83% 0.2 338.7)
XYZxyz(33.7416, 19.7181, 40.0513)
Luminance0.1971 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA45AA #45CA65
analogous
#A745CA #CA45AA #CA4567
triadic
#CA45AA #AACA45 #45AACA
tetradic
#CA45AA #CAA745 #45CA65 #4567CA
square
#CA45AA #CAA745 #45CA65 #4567CA
split-complementary
#CA45AA #67CA45 #45CAA7
monochromatic
#742160 #A32F87 #CA45AA #D875C0 #E5A4D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA45AA#FFFFFF#000000##000000
##CA45AA1.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)
#4B6DAD
Deuteranopia (green-blind)
#7582A7
Tritanopia (blue-blind)
#D54A71
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ca45aa;
/* rgb */ color: rgb(202, 69, 170);
/* oklch */ color: oklch(60.8% 0.200 338.7);
Tailwind
colors: {
  custom: {
    50: '#de82c3',
    500: '#ca45aa',
    950: '#000000',
  },
}
SCSS
$custom: #ca45aa;
$custom-light: #de82c3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca45aa",
  "rgb": {
    "r": 202,
    "g": 69,
    "b": 170
  },
  "hsl": {
    "h": 314.436,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.60832,
    "c": 0.20003,
    "h": 338.7
  },
  "luminance": 0.19715
}

Semantic roles & 50–950 ramp

primary
#CA45AA
secondary
#99D2A7
accent
#DF6D49
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B12
muted
#847C81

Preview Lab

Preview with #CA45AA

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

Preview Lab → · Contrast checker → · Palette generator →

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