#CA23A2#CA23A2

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

Color values

HEX#CA23A2
RGBrgb(202, 35, 162)
HSLhsl(314, 70%, 46%)
HSVhsv(314, 83%, 79%)
CMYKcmyk(0%, 82.7%, 19.8%, 20.8%)
CIE-LABlab(47.46, 72.42, -28.47)
CIE-LCHlch(47.46, 77.82, 338.54°)
OKLaboklab(57.78% 0.217 -0.0769)
OKLCHoklch(57.78% 0.23 340.5)
XYZxyz(31.4808, 16.3706, 35.6774)
Luminance0.1637 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA23A2 #23CA4B
analogous
#9F23CA #CA23A2 #CA234F
triadic
#CA23A2 #A2CA23 #23A2CA
tetradic
#CA23A2 #CA9F23 #23CA4B #234FCA
square
#CA23A2 #CA9F23 #23CA4B #234FCA
split-complementary
#CA23A2 #4FCA23 #23CA9F
monochromatic
#62114E #961A78 #CA23A2 #E04ABC #E97FCF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA23A2#FFFFFF#000000##FFFFFF
##CA23A21.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ca23a2;
/* rgb */ color: rgb(202, 35, 162);
/* oklch */ color: oklch(57.8% 0.230 340.5);
Tailwind
colors: {
  custom: {
    50: '#df74be',
    500: '#ca23a2',
    950: '#000000',
  },
}
SCSS
$custom: #ca23a2;
$custom-light: #df74be;
$custom-dark: #000000;
JSON
{
  "hex": "#ca23a2",
  "rgb": {
    "r": 202,
    "g": 35,
    "b": 162
  },
  "hsl": {
    "h": 314.371,
    "s": 70.464,
    "l": 46.471
  },
  "oklch": {
    "l": 0.57777,
    "c": 0.23026,
    "h": 340.5
  },
  "luminance": 0.16367
}

Semantic roles & 50–950 ramp

primary
#CA23A2
secondary
#78D18D
accent
#ED653B
background
#FEF7FB
surface
#FCEEF6
border
#D5C9D0
text
#160A12
muted
#847C81

Preview Lab

Preview with #CA23A2

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

Preview Lab → · Contrast checker → · Palette generator →

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