#CA23A3#CA23A3

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

Color values

HEX#CA23A3
RGBrgb(202, 35, 163)
HSLhsl(314, 70%, 46%)
HSVhsv(314, 83%, 79%)
CMYKcmyk(0%, 82.7%, 19.3%, 20.8%)
CIE-LABlab(47.50, 72.55, -29.00)
CIE-LCHlch(47.50, 78.13, 338.21°)
OKLaboklab(57.83% 0.2171 -0.0784)
OKLCHoklch(57.83% 0.231 340.1)
XYZxyz(31.5700, 16.4063, 36.1474)
Luminance0.1640 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA23A3 #23CA4A
analogous
#9E23CA #CA23A3 #CA2350
triadic
#CA23A3 #A3CA23 #23A3CA
tetradic
#CA23A3 #CA9E23 #23CA4A #2350CA
square
#CA23A3 #CA9E23 #23CA4A #2350CA
split-complementary
#CA23A3 #50CA23 #23CA9E
monochromatic
#62114F #961A79 #CA23A3 #E04ABD #E97FD0

Accessibility & contrast

On white

4.91
#CA23A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#CA23A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA23A3
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA23A3#FFFFFF#000000##FFFFFF
##CA23A31.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3360A6
Deuteranopia (green-blind)
#6B7A9F
Tritanopia (blue-blind)
#D62A63
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ca23a3;
/* rgb */ color: rgb(202, 35, 163);
/* oklch */ color: oklch(57.8% 0.231 340.1);
Tailwind
colors: {
  custom: {
    50: '#df74be',
    500: '#ca23a3',
    950: '#000000',
  },
}
SCSS
$custom: #ca23a3;
$custom-light: #df74be;
$custom-dark: #000000;
JSON
{
  "hex": "#ca23a3",
  "rgb": {
    "r": 202,
    "g": 35,
    "b": 163
  },
  "hsl": {
    "h": 314.012,
    "s": 70.464,
    "l": 46.471
  },
  "oklch": {
    "l": 0.57825,
    "c": 0.23087,
    "h": 340.1
  },
  "luminance": 0.16403
}

Semantic roles & 50–950 ramp

primary
#CA23A3
secondary
#78D18D
accent
#ED643B
background
#FEF7FB
surface
#FCEEF7
border
#D5C9D0
text
#160A12
muted
#847C81

Preview Lab

Preview with #CA23A3

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

Preview Lab → · Contrast checker → · Palette generator →

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