#CA23A1#CA23A1

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

Color values

HEX#CA23A1
RGBrgb(202, 35, 161)
HSLhsl(315, 70%, 46%)
HSVhsv(315, 83%, 79%)
CMYKcmyk(0%, 82.7%, 20.3%, 20.8%)
CIE-LABlab(47.41, 72.29, -27.95)
CIE-LCHlch(47.41, 77.51, 338.86°)
OKLaboklab(57.73% 0.2169 -0.0754)
OKLCHoklch(57.73% 0.23 340.8)
XYZxyz(31.3922, 16.3352, 35.2111)
Luminance0.1633 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA23A1 #23CA4C
analogous
#A023CA #CA23A1 #CA234D
triadic
#CA23A1 #A1CA23 #23A1CA
tetradic
#CA23A1 #CAA023 #23CA4C #234DCA
square
#CA23A1 #CAA023 #23CA4C #234DCA
split-complementary
#CA23A1 #4DCA23 #23CAA0
monochromatic
#62114E #961A77 #CA23A1 #E04ABB #E97FCF

Accessibility & contrast

On white

4.92
#CA23A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#CA23A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA23A1
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA23A1#FFFFFF#000000##FFFFFF
##CA23A11.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3460A4
Deuteranopia (green-blind)
#6C7A9D
Tritanopia (blue-blind)
#D72962
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ca23a1;
/* rgb */ color: rgb(202, 35, 161);
/* oklch */ color: oklch(57.7% 0.230 340.8);
Tailwind
colors: {
  custom: {
    50: '#df74bd',
    500: '#ca23a1',
    950: '#000000',
  },
}
SCSS
$custom: #ca23a1;
$custom-light: #df74bd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca23a1",
  "rgb": {
    "r": 202,
    "g": 35,
    "b": 161
  },
  "hsl": {
    "h": 314.731,
    "s": 70.464,
    "l": 46.471
  },
  "oklch": {
    "l": 0.57729,
    "c": 0.22966,
    "h": 340.8
  },
  "luminance": 0.16332
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA23A1

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

Preview Lab → · Contrast checker → · Palette generator →

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