#CA42AE#CA42AE

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

Color values

HEX#CA42AE
RGBrgb(202, 66, 174)
HSLhsl(312, 56%, 53%)
HSVhsv(312, 67%, 79%)
CMYKcmyk(0%, 67.3%, 13.9%, 20.8%)
CIE-LABlab(51.28, 64.74, -29.60)
CIE-LCHlch(51.28, 71.19, 335.43°)
OKLaboklab(60.72% 0.1904 -0.0804)
OKLCHoklch(60.72% 0.207 337.1)
XYZxyz(33.9459, 19.5120, 42.0146)
Luminance0.1951 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA42AE #42CA5E
analogous
#A242CA #CA42AE #CA426A
triadic
#CA42AE #AECA42 #42AECA
tetradic
#CA42AE #CAA242 #42CA5E #426ACA
square
#CA42AE #CAA242 #42CA5E #426ACA
split-complementary
#CA42AE #6ACA42 #42CAA2
monochromatic
#722061 #A22D8A #CA42AE #D772C2 #E5A2D7

Accessibility & contrast

On white

4.28
#CA42AE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA42AE#FFFFFF#000000##000000
##CA42AE1.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#466DB1
Deuteranopia (green-blind)
#7282AB
Tritanopia (blue-blind)
#D44972
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ca42ae;
/* rgb */ color: rgb(202, 66, 174);
/* oklch */ color: oklch(60.7% 0.207 337.1);
Tailwind
colors: {
  custom: {
    50: '#de81c6',
    500: '#ca42ae',
    950: '#000000',
  },
}
SCSS
$custom: #ca42ae;
$custom-light: #de81c6;
$custom-dark: #000000;
JSON
{
  "hex": "#ca42ae",
  "rgb": {
    "r": 202,
    "g": 66,
    "b": 174
  },
  "hsl": {
    "h": 312.353,
    "s": 56.198,
    "l": 52.549
  },
  "oklch": {
    "l": 0.60718,
    "c": 0.20665,
    "h": 337.1
  },
  "luminance": 0.19509
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA42AE

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

Preview Lab → · Contrast checker → · Palette generator →

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