#CA45A8#CA45A8

#CA45A8 is a mid, vivid pink. Relative luminance 0.196; OKLCH L 60.7% C 0.199 H 339.4°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#CA45A8
RGBrgb(202, 69, 168)
HSLhsl(315, 56%, 53%)
HSVhsv(315, 66%, 79%)
CMYKcmyk(0%, 65.8%, 16.8%, 20.8%)
CIE-LABlab(51.43, 62.73, -25.85)
CIE-LCHlch(51.43, 67.84, 337.60°)
OKLaboklab(60.74% 0.186 -0.0697)
OKLCHoklch(60.74% 0.199 339.4)
XYZxyz(33.5539, 19.6430, 39.0625)
Luminance0.1964 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA45A8 #45CA67
analogous
#A945CA #CA45A8 #CA4565
triadic
#CA45A8 #A8CA45 #45A8CA
tetradic
#CA45A8 #CAA945 #45CA67 #4565CA
square
#CA45A8 #CAA945 #45CA67 #4565CA
split-complementary
#CA45A8 #65CA45 #45CAA9
monochromatic
#74215F #A32F85 #CA45A8 #D875BE #E5A4D5

Accessibility & contrast

On white

4.26
#CA45A8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#CA45A8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA45A8
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA45A8#FFFFFF#000000##000000
##CA45A81.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C6DAB
Deuteranopia (green-blind)
#7582A5
Tritanopia (blue-blind)
#D54970
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ca45a8;
/* rgb */ color: rgb(202, 69, 168);
/* oklch */ color: oklch(60.7% 0.199 339.4);
Tailwind
colors: {
  custom: {
    50: '#de82c2',
    500: '#ca45a8',
    950: '#000000',
  },
}
SCSS
$custom: #ca45a8;
$custom-light: #de82c2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca45a8",
  "rgb": {
    "r": 202,
    "g": 69,
    "b": 168
  },
  "hsl": {
    "h": 315.338,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.60741,
    "c": 0.19866,
    "h": 339.4
  },
  "luminance": 0.1964
}

Semantic roles & 50–950 ramp

primary
#CA45A8
secondary
#99D2A7
accent
#DF6F49
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CA45A8

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

Preview Lab → · Contrast checker → · Palette generator →

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