#CA45A9#CA45A9

#CA45A9 is a mid, vivid pink. Relative luminance 0.197; OKLCH L 60.8% C 0.199 H 339.1°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#CA45A9
RGBrgb(202, 69, 169)
HSLhsl(315, 56%, 53%)
HSVhsv(315, 66%, 79%)
CMYKcmyk(0%, 65.8%, 16.3%, 20.8%)
CIE-LABlab(51.47, 62.87, -26.37)
CIE-LCHlch(51.47, 68.18, 337.24°)
OKLaboklab(60.79% 0.1862 -0.0712)
OKLCHoklch(60.79% 0.199 339.1)
XYZxyz(33.6474, 19.6804, 39.5550)
Luminance0.1968 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA45A9 #45CA66
analogous
#A845CA #CA45A9 #CA4566
triadic
#CA45A9 #A9CA45 #45A9CA
tetradic
#CA45A9 #CAA845 #45CA66 #4566CA
square
#CA45A9 #CAA845 #45CA66 #4566CA
split-complementary
#CA45A9 #66CA45 #45CAA8
monochromatic
#74215F #A32F86 #CA45A9 #D875BF #E5A4D5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA45A9#FFFFFF#000000##000000
##CA45A91.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)
#4B6DAC
Deuteranopia (green-blind)
#7582A6
Tritanopia (blue-blind)
#D54A71
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ca45a9;
/* rgb */ color: rgb(202, 69, 169);
/* oklch */ color: oklch(60.8% 0.199 339.1);
Tailwind
colors: {
  custom: {
    50: '#de82c3',
    500: '#ca45a9',
    950: '#000000',
  },
}
SCSS
$custom: #ca45a9;
$custom-light: #de82c3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca45a9",
  "rgb": {
    "r": 202,
    "g": 69,
    "b": 169
  },
  "hsl": {
    "h": 314.887,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.60787,
    "c": 0.19935,
    "h": 339.1
  },
  "luminance": 0.19677
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA45A9

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

Preview Lab → · Contrast checker → · Palette generator →

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