#CA23A5#CA23A5

#CA23A5 is a mid, highly saturated pink. Relative luminance 0.165; OKLCH L 57.9% C 0.232 H 339.5°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#CA23A5
RGBrgb(202, 35, 165)
HSLhsl(313, 70%, 46%)
HSVhsv(313, 83%, 79%)
CMYKcmyk(0%, 82.7%, 18.3%, 20.8%)
CIE-LABlab(47.60, 72.81, -30.04)
CIE-LCHlch(47.60, 78.76, 337.58°)
OKLaboklab(57.92% 0.2173 -0.0814)
OKLCHoklch(57.92% 0.232 339.5)
XYZxyz(31.7506, 16.4785, 37.0986)
Luminance0.1648 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA23A5 #23CA48
analogous
#9C23CA #CA23A5 #CA2352
triadic
#CA23A5 #A5CA23 #23A5CA
tetradic
#CA23A5 #CA9C23 #23CA48 #2352CA
square
#CA23A5 #CA9C23 #23CA48 #2352CA
split-complementary
#CA23A5 #52CA23 #23CA9C
monochromatic
#621150 #961A7A #CA23A5 #E04ABF #E97FD1

Accessibility & contrast

On white

4.89
#CA23A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#CA23A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA23A5
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA23A5#FFFFFF#000000##FFFFFF
##CA23A51.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3160A8
Deuteranopia (green-blind)
#6B7AA1
Tritanopia (blue-blind)
#D62C64
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ca23a5;
/* rgb */ color: rgb(202, 35, 165);
/* oklch */ color: oklch(57.9% 0.232 339.5);
Tailwind
colors: {
  custom: {
    50: '#df74c0',
    500: '#ca23a5',
    950: '#000000',
  },
}
SCSS
$custom: #ca23a5;
$custom-light: #df74c0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca23a5",
  "rgb": {
    "r": 202,
    "g": 35,
    "b": 165
  },
  "hsl": {
    "h": 313.293,
    "s": 70.464,
    "l": 46.471
  },
  "oklch": {
    "l": 0.57922,
    "c": 0.23208,
    "h": 339.5
  },
  "luminance": 0.16475
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA23A5

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

Preview Lab → · Contrast checker → · Palette generator →

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