#CA45A2#CA45A2

#CA45A2 is a mid, vivid pink. Relative luminance 0.194; OKLCH L 60.5% C 0.195 H 341.8°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#CA45A2
RGBrgb(202, 69, 162)
HSLhsl(318, 56%, 53%)
HSVhsv(318, 66%, 79%)
CMYKcmyk(0%, 65.8%, 19.8%, 20.8%)
CIE-LABlab(51.18, 61.88, -22.71)
CIE-LCHlch(51.18, 65.91, 339.85°)
OKLaboklab(60.48% 0.1849 -0.0609)
OKLCHoklch(60.48% 0.195 341.8)
XYZxyz(33.0078, 19.4246, 36.1864)
Luminance0.1942 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA45A2 #45CA6D
analogous
#AF45CA #CA45A2 #CA455F
triadic
#CA45A2 #A2CA45 #45A2CA
tetradic
#CA45A2 #CAAF45 #45CA6D #455FCA
square
#CA45A2 #CAAF45 #45CA6D #455FCA
split-complementary
#CA45A2 #5FCA45 #45CAAF
monochromatic
#74215B #A32F80 #CA45A2 #D875BA #E5A4D2

Accessibility & contrast

On white

4.30
#CA45A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#CA45A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA45A2
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA45A2#FFFFFF#000000##000000
##CA45A21.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F6CA5
Deuteranopia (green-blind)
#77829F
Tritanopia (blue-blind)
#D6476D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ca45a2;
/* rgb */ color: rgb(202, 69, 162);
/* oklch */ color: oklch(60.5% 0.195 341.8);
Tailwind
colors: {
  custom: {
    50: '#de82bd',
    500: '#ca45a2',
    950: '#000000',
  },
}
SCSS
$custom: #ca45a2;
$custom-light: #de82bd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca45a2",
  "rgb": {
    "r": 202,
    "g": 69,
    "b": 162
  },
  "hsl": {
    "h": 318.045,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.60476,
    "c": 0.19471,
    "h": 341.8
  },
  "luminance": 0.19421
}

Semantic roles & 50–950 ramp

primary
#CA45A2
secondary
#99D2AA
accent
#DF7649
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CA45A2

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

Preview Lab → · Contrast checker → · Palette generator →

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