#CA23A4#CA23A4

#CA23A4 is a mid, highly saturated pink. Relative luminance 0.164; OKLCH L 57.9% C 0.231 H 339.8°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#CA23A4
RGBrgb(202, 35, 164)
HSLhsl(314, 70%, 46%)
HSVhsv(314, 83%, 79%)
CMYKcmyk(0%, 82.7%, 18.8%, 20.8%)
CIE-LABlab(47.55, 72.68, -29.52)
CIE-LCHlch(47.55, 78.44, 337.90°)
OKLaboklab(57.87% 0.2172 -0.0799)
OKLCHoklch(57.87% 0.231 339.8)
XYZxyz(31.6600, 16.4423, 36.6211)
Luminance0.1644 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA23A4 #23CA49
analogous
#9D23CA #CA23A4 #CA2350
triadic
#CA23A4 #A4CA23 #23A4CA
tetradic
#CA23A4 #CA9D23 #23CA49 #2350CA
square
#CA23A4 #CA9D23 #23CA49 #2350CA
split-complementary
#CA23A4 #50CA23 #23CA9D
monochromatic
#62114F #961A7A #CA23A4 #E04ABE #E97FD1

Accessibility & contrast

On white

4.90
#CA23A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#CA23A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA23A4
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA23A4#FFFFFF#000000##FFFFFF
##CA23A41.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3260A7
Deuteranopia (green-blind)
#6B7AA0
Tritanopia (blue-blind)
#D62B64
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ca23a4;
/* rgb */ color: rgb(202, 35, 164);
/* oklch */ color: oklch(57.9% 0.231 339.8);
Tailwind
colors: {
  custom: {
    50: '#df74bf',
    500: '#ca23a4',
    950: '#000000',
  },
}
SCSS
$custom: #ca23a4;
$custom-light: #df74bf;
$custom-dark: #000000;
JSON
{
  "hex": "#ca23a4",
  "rgb": {
    "r": 202,
    "g": 35,
    "b": 164
  },
  "hsl": {
    "h": 313.653,
    "s": 70.464,
    "l": 46.471
  },
  "oklch": {
    "l": 0.57873,
    "c": 0.23147,
    "h": 339.8
  },
  "luminance": 0.16439
}

Semantic roles & 50–950 ramp

primary
#CA23A4
secondary
#78D18C
accent
#ED633B
background
#FEF7FB
surface
#FCEEF7
border
#D5C9D0
text
#160A12
muted
#847C81

Preview Lab

Preview with #CA23A4

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

Preview Lab → · Contrast checker → · Palette generator →

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