#CA34A1#CA34A1

#CA34A1 is a mid, highly saturated pink. Relative luminance 0.176; OKLCH L 58.9% C 0.214 H 341.3°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#CA34A1
RGBrgb(202, 52, 161)
HSLhsl(316, 59%, 50%)
HSVhsv(316, 74%, 79%)
CMYKcmyk(0%, 74.3%, 20.3%, 20.8%)
CIE-LABlab(48.99, 67.76, -25.49)
CIE-LCHlch(48.99, 72.40, 339.38°)
OKLaboklab(58.87% 0.2031 -0.0686)
OKLCHoklch(58.87% 0.214 341.3)
XYZxyz(32.0192, 17.5890, 35.4201)
Luminance0.1759 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA34A1 #34CA5D
analogous
#A834CA #CA34A1 #CA3456
triadic
#CA34A1 #A1CA34 #34A1CA
tetradic
#CA34A1 #CAA834 #34CA5D #3456CA
square
#CA34A1 #CAA834 #34CA5D #3456CA
split-complementary
#CA34A1 #56CA34 #34CAA8
monochromatic
#691B53 #99277A #CA34A1 #D764B8 #E495CE

Accessibility & contrast

On white

4.65
#CA34A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#CA34A1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CA34A1
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA34A1#FFFFFF#000000##FFFFFF
##CA34A11.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4165A4
Deuteranopia (green-blind)
#717D9E
Tritanopia (blue-blind)
#D63767
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ca34a1;
/* rgb */ color: rgb(202, 52, 161);
/* oklch */ color: oklch(58.9% 0.214 341.3);
Tailwind
colors: {
  custom: {
    50: '#de7abd',
    500: '#ca34a1',
    950: '#000000',
  },
}
SCSS
$custom: #ca34a1;
$custom-light: #de7abd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca34a1",
  "rgb": {
    "r": 202,
    "g": 52,
    "b": 161
  },
  "hsl": {
    "h": 316.4,
    "s": 59.055,
    "l": 49.804
  },
  "oklch": {
    "l": 0.58871,
    "c": 0.21433,
    "h": 341.3
  },
  "luminance": 0.17586
}

Semantic roles & 50–950 ramp

primary
#CA34A1
secondary
#8BCF9E
accent
#E27046
background
#FEF7FB
surface
#FCEEF6
border
#D5C9D0
text
#160A12
muted
#847C81

Preview Lab

Preview with #CA34A1

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

Preview Lab → · Contrast checker → · Palette generator →

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