#CA23A0#CA23A0

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

Color values

HEX#CA23A0
RGBrgb(202, 35, 160)
HSLhsl(315, 70%, 46%)
HSVhsv(315, 83%, 79%)
CMYKcmyk(0%, 82.7%, 20.8%, 20.8%)
CIE-LABlab(47.37, 72.17, -27.42)
CIE-LCHlch(47.37, 77.20, 339.19°)
OKLaboklab(57.68% 0.2168 -0.0739)
OKLCHoklch(57.68% 0.229 341.2)
XYZxyz(31.3044, 16.3000, 34.7485)
Luminance0.1630 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA23A0 #23CA4D
analogous
#A123CA #CA23A0 #CA234D
triadic
#CA23A0 #A0CA23 #23A0CA
tetradic
#CA23A0 #CAA123 #23CA4D #234DCA
square
#CA23A0 #CAA123 #23CA4D #234DCA
split-complementary
#CA23A0 #4DCA23 #23CAA1
monochromatic
#62114D #961A77 #CA23A0 #E04ABA #E97FCE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA23A0#FFFFFF#000000##FFFFFF
##CA23A01.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)
#3560A3
Deuteranopia (green-blind)
#6C7A9C
Tritanopia (blue-blind)
#D72862
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ca23a0;
/* rgb */ color: rgb(202, 35, 160);
/* oklch */ color: oklch(57.7% 0.229 341.2);
Tailwind
colors: {
  custom: {
    50: '#df74bc',
    500: '#ca23a0',
    950: '#000000',
  },
}
SCSS
$custom: #ca23a0;
$custom-light: #df74bc;
$custom-dark: #000000;
JSON
{
  "hex": "#ca23a0",
  "rgb": {
    "r": 202,
    "g": 35,
    "b": 160
  },
  "hsl": {
    "h": 315.09,
    "s": 70.464,
    "l": 46.471
  },
  "oklch": {
    "l": 0.57681,
    "c": 0.22907,
    "h": 341.2
  },
  "luminance": 0.16297
}

Semantic roles & 50–950 ramp

primary
#CA23A0
secondary
#78D18E
accent
#ED673B
background
#FEF7FB
surface
#FCEEF6
border
#D5C9D0
text
#160A12
muted
#847C81

Preview Lab

Preview with #CA23A0

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

Preview Lab → · Contrast checker → · Palette generator →

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