#CA42A7#CA42A7

#CA42A7 is a mid, highly saturated pink. Relative luminance 0.192; OKLCH L 60.4% C 0.202 H 339.7°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#CA42A7
RGBrgb(202, 66, 167)
HSLhsl(315, 56%, 53%)
HSVhsv(315, 67%, 79%)
CMYKcmyk(0%, 67.3%, 17.3%, 20.8%)
CIE-LABlab(50.97, 63.74, -25.97)
CIE-LCHlch(50.97, 68.82, 337.83°)
OKLaboklab(60.39% 0.1893 -0.0701)
OKLCHoklch(60.39% 0.202 339.7)
XYZxyz(33.2812, 19.2461, 38.5138)
Luminance0.1924 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA42A7 #42CA65
analogous
#A942CA #CA42A7 #CA4263
triadic
#CA42A7 #A7CA42 #42A7CA
tetradic
#CA42A7 #CAA942 #42CA65 #4263CA
square
#CA42A7 #CAA942 #42CA65 #4263CA
split-complementary
#CA42A7 #63CA42 #42CAA9
monochromatic
#72205D #A22D84 #CA42A7 #D772BD #E5A2D4

Accessibility & contrast

On white

4.33
#CA42A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#CA42A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA42A7
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA42A7#FFFFFF#000000##000000
##CA42A71.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A6CAA
Deuteranopia (green-blind)
#7481A4
Tritanopia (blue-blind)
#D5466F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ca42a7;
/* rgb */ color: rgb(202, 66, 167);
/* oklch */ color: oklch(60.4% 0.202 339.7);
Tailwind
colors: {
  custom: {
    50: '#de80c1',
    500: '#ca42a7',
    950: '#000000',
  },
}
SCSS
$custom: #ca42a7;
$custom-light: #de80c1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca42a7",
  "rgb": {
    "r": 202,
    "g": 66,
    "b": 167
  },
  "hsl": {
    "h": 315.441,
    "s": 56.198,
    "l": 52.549
  },
  "oklch": {
    "l": 0.60394,
    "c": 0.20188,
    "h": 339.7
  },
  "luminance": 0.19243
}

Semantic roles & 50–950 ramp

primary
#CA42A7
secondary
#96D1A6
accent
#DF6F48
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CA42A7

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

Preview Lab → · Contrast checker → · Palette generator →

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