#CA21A3#CA21A3

#CA21A3 is a mid, highly saturated pink. Relative luminance 0.163; OKLCH L 57.7% C 0.232 H 340.1°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#CA21A3
RGBrgb(202, 33, 163)
HSLhsl(314, 72%, 46%)
HSVhsv(314, 84%, 79%)
CMYKcmyk(0%, 83.7%, 19.3%, 20.8%)
CIE-LABlab(47.36, 72.98, -29.23)
CIE-LCHlch(47.36, 78.61, 338.17°)
OKLaboklab(57.72% 0.2184 -0.0791)
OKLCHoklch(57.72% 0.232 340.1)
XYZxyz(31.5128, 16.2919, 36.1283)
Luminance0.1629 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA21A3 #21CA48
analogous
#9C21CA #CA21A3 #CA214E
triadic
#CA21A3 #A3CA21 #21A3CA
tetradic
#CA21A3 #CA9C21 #21CA48 #214ECA
square
#CA21A3 #CA9C21 #21CA48 #214ECA
split-complementary
#CA21A3 #4ECA21 #21CA9C
monochromatic
#61104E #951879 #CA21A3 #E147BD #EA7CD0

Accessibility & contrast

On white

4.93
#CA21A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#CA21A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA21A3
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA21A3#FFFFFF#000000##FFFFFF
##CA21A31.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3160A6
Deuteranopia (green-blind)
#6B7A9F
Tritanopia (blue-blind)
#D62963
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ca21a3;
/* rgb */ color: rgb(202, 33, 163);
/* oklch */ color: oklch(57.7% 0.232 340.1);
Tailwind
colors: {
  custom: {
    50: '#df73be',
    500: '#ca21a3',
    950: '#000000',
  },
}
SCSS
$custom: #ca21a3;
$custom-light: #df73be;
$custom-dark: #000000;
JSON
{
  "hex": "#ca21a3",
  "rgb": {
    "r": 202,
    "g": 33,
    "b": 163
  },
  "hsl": {
    "h": 313.846,
    "s": 71.915,
    "l": 46.078
  },
  "oklch": {
    "l": 0.57719,
    "c": 0.23231,
    "h": 340.1
  },
  "luminance": 0.16289
}

Semantic roles & 50–950 ramp

primary
#CA21A3
secondary
#75D28B
accent
#EF6339
background
#FEF7FB
surface
#FCEEF7
border
#D5C9D0
text
#160912
muted
#847B81

Preview Lab

Preview with #CA21A3

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

Preview Lab → · Contrast checker → · Palette generator →

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