#CA42A5#CA42A5

#CA42A5 is a mid, highly saturated pink. Relative luminance 0.192; OKLCH L 60.3% C 0.201 H 340.5°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#CA42A5
RGBrgb(202, 66, 165)
HSLhsl(316, 56%, 53%)
HSVhsv(316, 67%, 79%)
CMYKcmyk(0%, 67.3%, 18.3%, 20.8%)
CIE-LABlab(50.89, 63.45, -24.93)
CIE-LCHlch(50.89, 68.17, 338.56°)
OKLaboklab(60.3% 0.189 -0.0671)
OKLCHoklch(60.3% 0.201 340.5)
XYZxyz(33.0977, 19.1727, 37.5476)
Luminance0.1917 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA42A5 #42CA67
analogous
#AB42CA #CA42A5 #CA4261
triadic
#CA42A5 #A5CA42 #42A5CA
tetradic
#CA42A5 #CAAB42 #42CA67 #4261CA
square
#CA42A5 #CAAB42 #42CA67 #4261CA
split-complementary
#CA42A5 #61CA42 #42CAAB
monochromatic
#72205B #A22D82 #CA42A5 #D772BC #E5A2D3

Accessibility & contrast

On white

4.34
#CA42A5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#CA42A5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA42A5
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA42A5#FFFFFF#000000##000000
##CA42A51.004.344.834.83
#FFFFFF4.341.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B6BA8
Deuteranopia (green-blind)
#7581A2
Tritanopia (blue-blind)
#D6456E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ca42a5;
/* rgb */ color: rgb(202, 66, 165);
/* oklch */ color: oklch(60.3% 0.201 340.5);
Tailwind
colors: {
  custom: {
    50: '#de80c0',
    500: '#ca42a5',
    950: '#000000',
  },
}
SCSS
$custom: #ca42a5;
$custom-light: #de80c0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca42a5",
  "rgb": {
    "r": 202,
    "g": 66,
    "b": 165
  },
  "hsl": {
    "h": 316.324,
    "s": 56.198,
    "l": 52.549
  },
  "oklch": {
    "l": 0.60304,
    "c": 0.20055,
    "h": 340.5
  },
  "luminance": 0.1917
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA42A5

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

Preview Lab → · Contrast checker → · Palette generator →

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