#CA42A3#CA42A3

#CA42A3 is a mid, vivid pink. Relative luminance 0.191; OKLCH L 60.2% C 0.199 H 341.2°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#CA42A3
RGBrgb(202, 66, 163)
HSLhsl(317, 56%, 53%)
HSVhsv(317, 67%, 79%)
CMYKcmyk(0%, 67.3%, 19.3%, 20.8%)
CIE-LABlab(50.80, 63.18, -23.88)
CIE-LCHlch(50.80, 67.54, 339.30°)
OKLaboklab(60.22% 0.1886 -0.0641)
OKLCHoklch(60.22% 0.199 341.2)
XYZxyz(32.9171, 19.1005, 36.5964)
Luminance0.1910 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA42A3 #42CA69
analogous
#AD42CA #CA42A3 #CA425F
triadic
#CA42A3 #A3CA42 #42A3CA
tetradic
#CA42A3 #CAAD42 #42CA69 #425FCA
square
#CA42A3 #CAAD42 #42CA69 #425FCA
split-complementary
#CA42A3 #5FCA42 #42CAAD
monochromatic
#72205A #A22D80 #CA42A3 #D772BA #E5A2D2

Accessibility & contrast

On white

4.36
#CA42A3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#CA42A3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA42A3
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA42A3#FFFFFF#000000##000000
##CA42A31.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C6BA6
Deuteranopia (green-blind)
#7681A0
Tritanopia (blue-blind)
#D6446D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ca42a3;
/* rgb */ color: rgb(202, 66, 163);
/* oklch */ color: oklch(60.2% 0.199 341.2);
Tailwind
colors: {
  custom: {
    50: '#de80be',
    500: '#ca42a3',
    950: '#000000',
  },
}
SCSS
$custom: #ca42a3;
$custom-light: #de80be;
$custom-dark: #000000;
JSON
{
  "hex": "#ca42a3",
  "rgb": {
    "r": 202,
    "g": 66,
    "b": 163
  },
  "hsl": {
    "h": 317.206,
    "s": 56.198,
    "l": 52.549
  },
  "oklch": {
    "l": 0.60215,
    "c": 0.19925,
    "h": 341.2
  },
  "luminance": 0.19097
}

Semantic roles & 50–950 ramp

primary
#CA42A3
secondary
#96D1A7
accent
#DF7448
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CA42A3

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

Preview Lab → · Contrast checker → · Palette generator →

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