#CA34AC#CA34AC

#CA34AC is a mid, highly saturated pink. Relative luminance 0.180; OKLCH L 59.4% C 0.221 H 337.5°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#CA34AC
RGBrgb(202, 52, 172)
HSLhsl(312, 59%, 50%)
HSVhsv(312, 74%, 79%)
CMYKcmyk(0%, 74.3%, 14.9%, 20.8%)
CIE-LABlab(49.49, 69.26, -31.22)
CIE-LCHlch(49.49, 75.97, 335.73°)
OKLaboklab(59.39% 0.2045 -0.0849)
OKLCHoklch(59.39% 0.221 337.5)
XYZxyz(33.0322, 17.9942, 40.7553)
Luminance0.1799 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA34AC #34CA52
analogous
#9D34CA #CA34AC #CA3461
triadic
#CA34AC #ACCA34 #34ACCA
tetradic
#CA34AC #CA9D34 #34CA52 #3461CA
square
#CA34AC #CA9D34 #34CA52 #3461CA
split-complementary
#CA34AC #61CA34 #34CA9D
monochromatic
#691B59 #992783 #CA34AC #D764C0 #E495D4

Accessibility & contrast

On white

4.57
#CA34AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#CA34AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA34AC
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA34AC#FFFFFF#000000##000000
##CA34AC1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3967AF
Deuteranopia (green-blind)
#6D7EA9
Tritanopia (blue-blind)
#D53D6D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ca34ac;
/* rgb */ color: rgb(202, 52, 172);
/* oklch */ color: oklch(59.4% 0.221 337.5);
Tailwind
colors: {
  custom: {
    50: '#de7ac5',
    500: '#ca34ac',
    950: '#000000',
  },
}
SCSS
$custom: #ca34ac;
$custom-light: #de7ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca34ac",
  "rgb": {
    "r": 202,
    "g": 52,
    "b": 172
  },
  "hsl": {
    "h": 312,
    "s": 59.055,
    "l": 49.804
  },
  "oklch": {
    "l": 0.5939,
    "c": 0.22138,
    "h": 337.5
  },
  "luminance": 0.17991
}

Semantic roles & 50–950 ramp

primary
#CA34AC
secondary
#8BCF99
accent
#E26546
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160A13
muted
#847C82

Preview Lab

Preview with #CA34AC

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

Preview Lab → · Contrast checker → · Palette generator →

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