#CA45A4#CA45A4

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

Color values

HEX#CA45A4
RGBrgb(202, 69, 164)
HSLhsl(317, 56%, 53%)
HSVhsv(317, 66%, 79%)
CMYKcmyk(0%, 65.8%, 18.8%, 20.8%)
CIE-LABlab(51.26, 62.16, -23.76)
CIE-LCHlch(51.26, 66.54, 339.08°)
OKLaboklab(60.56% 0.1853 -0.0638)
OKLCHoklch(60.56% 0.196 341)
XYZxyz(33.1870, 19.4962, 37.1301)
Luminance0.1949 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA45A4 #45CA6B
analogous
#AE45CA #CA45A4 #CA4561
triadic
#CA45A4 #A4CA45 #45A4CA
tetradic
#CA45A4 #CAAE45 #45CA6B #4561CA
square
#CA45A4 #CAAE45 #45CA6B #4561CA
split-complementary
#CA45A4 #61CA45 #45CAAE
monochromatic
#74215C #A32F82 #CA45A4 #D875BB #E5A4D3

Accessibility & contrast

On white

4.29
#CA45A4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#CA45A4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA45A4
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA45A4#FFFFFF#000000##000000
##CA45A41.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ca45a4;
/* rgb */ color: rgb(202, 69, 164);
/* oklch */ color: oklch(60.6% 0.196 341.0);
Tailwind
colors: {
  custom: {
    50: '#de82bf',
    500: '#ca45a4',
    950: '#000000',
  },
}
SCSS
$custom: #ca45a4;
$custom-light: #de82bf;
$custom-dark: #000000;
JSON
{
  "hex": "#ca45a4",
  "rgb": {
    "r": 202,
    "g": 69,
    "b": 164
  },
  "hsl": {
    "h": 317.143,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.60563,
    "c": 0.19601,
    "h": 341
  },
  "luminance": 0.19493
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA45A4

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

Preview Lab → · Contrast checker → · Palette generator →

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