#CA42AB#CA42AB

#CA42AB is a mid, highly saturated pink. Relative luminance 0.194; OKLCH L 60.6% C 0.205 H 338.2°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#CA42AB
RGBrgb(202, 66, 171)
HSLhsl(314, 56%, 53%)
HSVhsv(314, 67%, 79%)
CMYKcmyk(0%, 67.3%, 15.3%, 20.8%)
CIE-LABlab(51.15, 64.31, -28.05)
CIE-LCHlch(51.15, 70.16, 336.43°)
OKLaboklab(60.58% 0.19 -0.0759)
OKLCHoklch(60.58% 0.205 338.2)
XYZxyz(33.6567, 19.3963, 40.4915)
Luminance0.1939 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA42AB #42CA61
analogous
#A542CA #CA42AB #CA4267
triadic
#CA42AB #ABCA42 #42ABCA
tetradic
#CA42AB #CAA542 #42CA61 #4267CA
square
#CA42AB #CAA542 #42CA61 #4267CA
split-complementary
#CA42AB #67CA42 #42CAA5
monochromatic
#72205F #A22D87 #CA42AB #D772C0 #E5A2D5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA42AB#FFFFFF#000000##000000
##CA42AB1.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)
#476CAE
Deuteranopia (green-blind)
#7381A8
Tritanopia (blue-blind)
#D54871
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ca42ab;
/* rgb */ color: rgb(202, 66, 171);
/* oklch */ color: oklch(60.6% 0.205 338.2);
Tailwind
colors: {
  custom: {
    50: '#de81c4',
    500: '#ca42ab',
    950: '#000000',
  },
}
SCSS
$custom: #ca42ab;
$custom-light: #de81c4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca42ab",
  "rgb": {
    "r": 202,
    "g": 66,
    "b": 171
  },
  "hsl": {
    "h": 313.676,
    "s": 56.198,
    "l": 52.549
  },
  "oklch": {
    "l": 0.60577,
    "c": 0.20457,
    "h": 338.2
  },
  "luminance": 0.19393
}

Semantic roles & 50–950 ramp

primary
#CA42AB
secondary
#96D1A4
accent
#DF6B48
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160B12
muted
#847C81

Preview Lab

Preview with #CA42AB

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

Preview Lab → · Contrast checker → · Palette generator →

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