#CA23A6#CA23A6

#CA23A6 is a mid, highly saturated pink. Relative luminance 0.165; OKLCH L 58.0% C 0.233 H 339.1°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#CA23A6
RGBrgb(202, 35, 166)
HSLhsl(313, 70%, 46%)
HSVhsv(313, 83%, 79%)
CMYKcmyk(0%, 82.7%, 17.8%, 20.8%)
CIE-LABlab(47.64, 72.94, -30.56)
CIE-LCHlch(47.64, 79.08, 337.27°)
OKLaboklab(57.97% 0.2174 -0.0829)
OKLCHoklch(57.97% 0.233 339.1)
XYZxyz(31.8420, 16.5151, 37.5798)
Luminance0.1651 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA23A6 #23CA47
analogous
#9B23CA #CA23A6 #CA2353
triadic
#CA23A6 #A6CA23 #23A6CA
tetradic
#CA23A6 #CA9B23 #23CA47 #2353CA
square
#CA23A6 #CA9B23 #23CA47 #2353CA
split-complementary
#CA23A6 #53CA23 #23CA9B
monochromatic
#621150 #961A7B #CA23A6 #E04AC0 #E97FD2

Accessibility & contrast

On white

4.88
#CA23A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #CA23A6
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA23A6#FFFFFF#000000##FFFFFF
##CA23A61.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3061A9
Deuteranopia (green-blind)
#6A7AA2
Tritanopia (blue-blind)
#D62C65
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ca23a6;
/* rgb */ color: rgb(202, 35, 166);
/* oklch */ color: oklch(58.0% 0.233 339.1);
Tailwind
colors: {
  custom: {
    50: '#df74c0',
    500: '#ca23a6',
    950: '#000000',
  },
}
SCSS
$custom: #ca23a6;
$custom-light: #df74c0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca23a6",
  "rgb": {
    "r": 202,
    "g": 35,
    "b": 166
  },
  "hsl": {
    "h": 312.934,
    "s": 70.464,
    "l": 46.471
  },
  "oklch": {
    "l": 0.57971,
    "c": 0.23269,
    "h": 339.1
  },
  "luminance": 0.16512
}

Semantic roles & 50–950 ramp

primary
#CA23A6
secondary
#78D18B
accent
#ED613B
background
#FEF7FB
surface
#FCEEF7
border
#D5C9D0
text
#160A12
muted
#847C81

Preview Lab

Preview with #CA23A6

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

Preview Lab → · Contrast checker → · Palette generator →

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