#CA42AC#CA42AC

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

Color values

HEX#CA42AC
RGBrgb(202, 66, 172)
HSLhsl(313, 56%, 53%)
HSVhsv(313, 67%, 79%)
CMYKcmyk(0%, 67.3%, 14.9%, 20.8%)
CIE-LABlab(51.19, 64.45, -28.57)
CIE-LCHlch(51.19, 70.50, 336.09°)
OKLaboklab(60.62% 0.1901 -0.0774)
OKLCHoklch(60.62% 0.205 337.8)
XYZxyz(33.7524, 19.4346, 40.9954)
Luminance0.1943 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA42AC #42CA60
analogous
#A442CA #CA42AC #CA4268
triadic
#CA42AC #ACCA42 #42ACCA
tetradic
#CA42AC #CAA442 #42CA60 #4268CA
square
#CA42AC #CAA442 #42CA60 #4268CA
split-complementary
#CA42AC #68CA42 #42CAA4
monochromatic
#722060 #A22D88 #CA42AC #D772C1 #E5A2D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA42AC#FFFFFF#000000##000000
##CA42AC1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#476CAF
Deuteranopia (green-blind)
#7282A9
Tritanopia (blue-blind)
#D54871
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ca42ac;
/* rgb */ color: rgb(202, 66, 172);
/* oklch */ color: oklch(60.6% 0.205 337.8);
Tailwind
colors: {
  custom: {
    50: '#de81c5',
    500: '#ca42ac',
    950: '#000000',
  },
}
SCSS
$custom: #ca42ac;
$custom-light: #de81c5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca42ac",
  "rgb": {
    "r": 202,
    "g": 66,
    "b": 172
  },
  "hsl": {
    "h": 313.235,
    "s": 56.198,
    "l": 52.549
  },
  "oklch": {
    "l": 0.60624,
    "c": 0.20526,
    "h": 337.8
  },
  "luminance": 0.19432
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA42AC

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

Preview Lab → · Contrast checker → · Palette generator →

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