#CA42AD#CA42AD

#CA42AD is a mid, highly saturated pink. Relative luminance 0.195; OKLCH L 60.7% C 0.206 H 337.5°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#CA42AD
RGBrgb(202, 66, 173)
HSLhsl(313, 56%, 53%)
HSVhsv(313, 67%, 79%)
CMYKcmyk(0%, 67.3%, 14.4%, 20.8%)
CIE-LABlab(51.24, 64.60, -29.09)
CIE-LCHlch(51.24, 70.84, 335.76°)
OKLaboklab(60.67% 0.1902 -0.0789)
OKLCHoklch(60.67% 0.206 337.5)
XYZxyz(33.8488, 19.4731, 41.5030)
Luminance0.1947 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA42AD #42CA5F
analogous
#A342CA #CA42AD #CA4269
triadic
#CA42AD #ADCA42 #42ADCA
tetradic
#CA42AD #CAA342 #42CA5F #4269CA
square
#CA42AD #CAA342 #42CA5F #4269CA
split-complementary
#CA42AD #69CA42 #42CAA3
monochromatic
#722060 #A22D89 #CA42AD #D772C2 #E5A2D6

Accessibility & contrast

On white

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

On black

4.89
#CA42AD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA42AD
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA42AD#FFFFFF#000000##000000
##CA42AD1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#466DB0
Deuteranopia (green-blind)
#7282AA
Tritanopia (blue-blind)
#D54972
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ca42ad;
/* rgb */ color: rgb(202, 66, 173);
/* oklch */ color: oklch(60.7% 0.206 337.5);
Tailwind
colors: {
  custom: {
    50: '#de81c5',
    500: '#ca42ad',
    950: '#000000',
  },
}
SCSS
$custom: #ca42ad;
$custom-light: #de81c5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca42ad",
  "rgb": {
    "r": 202,
    "g": 66,
    "b": 173
  },
  "hsl": {
    "h": 312.794,
    "s": 56.198,
    "l": 52.549
  },
  "oklch": {
    "l": 0.60671,
    "c": 0.20595,
    "h": 337.5
  },
  "luminance": 0.1947
}

Semantic roles & 50–950 ramp

primary
#CA42AD
secondary
#96D1A3
accent
#DF6948
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CA42AD

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

Preview Lab → · Contrast checker → · Palette generator →

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