#CA42A1#CA42A1

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

Color values

HEX#CA42A1
RGBrgb(202, 66, 161)
HSLhsl(318, 56%, 53%)
HSVhsv(318, 67%, 79%)
CMYKcmyk(0%, 67.3%, 20.3%, 20.8%)
CIE-LABlab(50.72, 62.90, -22.82)
CIE-LCHlch(50.72, 66.91, 340.06°)
OKLaboklab(60.13% 0.1883 -0.0612)
OKLCHoklch(60.13% 0.198 342)
XYZxyz(32.7393, 19.0293, 35.6601)
Luminance0.1903 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA42A1 #42CA6B
analogous
#AF42CA #CA42A1 #CA425D
triadic
#CA42A1 #A1CA42 #42A1CA
tetradic
#CA42A1 #CAAF42 #42CA6B #425DCA
square
#CA42A1 #CAAF42 #42CA6B #425DCA
split-complementary
#CA42A1 #5DCA42 #42CAAF
monochromatic
#722059 #A22D7E #CA42A1 #D772B9 #E5A2D1

Accessibility & contrast

On white

4.37
#CA42A1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#CA42A1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA42A1
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA42A1#FFFFFF#000000##000000
##CA42A11.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D6BA4
Deuteranopia (green-blind)
#76819E
Tritanopia (blue-blind)
#D6446C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ca42a1;
/* rgb */ color: rgb(202, 66, 161);
/* oklch */ color: oklch(60.1% 0.198 342.0);
Tailwind
colors: {
  custom: {
    50: '#de80bd',
    500: '#ca42a1',
    950: '#000000',
  },
}
SCSS
$custom: #ca42a1;
$custom-light: #de80bd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca42a1",
  "rgb": {
    "r": 202,
    "g": 66,
    "b": 161
  },
  "hsl": {
    "h": 318.088,
    "s": 56.198,
    "l": 52.549
  },
  "oklch": {
    "l": 0.60127,
    "c": 0.19796,
    "h": 342
  },
  "luminance": 0.19026
}

Semantic roles & 50–950 ramp

primary
#CA42A1
secondary
#96D1A8
accent
#DF7648
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CA42A1

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

Preview Lab → · Contrast checker → · Palette generator →

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