#CA42A0#CA42A0

#CA42A0 is a mid, vivid pink. Relative luminance 0.190; OKLCH L 60.1% C 0.197 H 342.4°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#CA42A0
RGBrgb(202, 66, 160)
HSLhsl(319, 56%, 53%)
HSVhsv(319, 67%, 79%)
CMYKcmyk(0%, 67.3%, 20.8%, 20.8%)
CIE-LABlab(50.68, 62.76, -22.29)
CIE-LCHlch(50.68, 66.61, 340.44°)
OKLaboklab(60.08% 0.1881 -0.0597)
OKLCHoklch(60.08% 0.197 342.4)
XYZxyz(32.6515, 18.9942, 35.1975)
Luminance0.1899 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA42A0 #42CA6C
analogous
#B042CA #CA42A0 #CA425C
triadic
#CA42A0 #A0CA42 #42A0CA
tetradic
#CA42A0 #CAB042 #42CA6C #425CCA
square
#CA42A0 #CAB042 #42CA6C #425CCA
split-complementary
#CA42A0 #5CCA42 #42CAB0
monochromatic
#722058 #A22D7E #CA42A0 #D772B8 #E5A2D0

Accessibility & contrast

On white

4.38
#CA42A0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#CA42A0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA42A0
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA42A0#FFFFFF#000000##000000
##CA42A01.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E6AA3
Deuteranopia (green-blind)
#77819D
Tritanopia (blue-blind)
#D6436B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ca42a0;
/* rgb */ color: rgb(202, 66, 160);
/* oklch */ color: oklch(60.1% 0.197 342.4);
Tailwind
colors: {
  custom: {
    50: '#de80bc',
    500: '#ca42a0',
    950: '#000000',
  },
}
SCSS
$custom: #ca42a0;
$custom-light: #de80bc;
$custom-dark: #000000;
JSON
{
  "hex": "#ca42a0",
  "rgb": {
    "r": 202,
    "g": 66,
    "b": 160
  },
  "hsl": {
    "h": 318.529,
    "s": 56.198,
    "l": 52.549
  },
  "oklch": {
    "l": 0.60084,
    "c": 0.19733,
    "h": 342.4
  },
  "luminance": 0.18991
}

Semantic roles & 50–950 ramp

primary
#CA42A0
secondary
#96D1A9
accent
#DF7748
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CA42A0

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

Preview Lab → · Contrast checker → · Palette generator →

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