#CA34B1#CA34B1

#CA34B1 is a mid, highly saturated pink. Relative luminance 0.182; OKLCH L 59.6% C 0.225 H 335.8°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#CA34B1
RGBrgb(202, 52, 177)
HSLhsl(310, 59%, 50%)
HSVhsv(310, 74%, 79%)
CMYKcmyk(0%, 74.3%, 12.4%, 20.8%)
CIE-LABlab(49.73, 69.96, -33.79)
CIE-LCHlch(49.73, 77.70, 334.22°)
OKLaboklab(59.64% 0.2049 -0.0922)
OKLCHoklch(59.64% 0.225 335.8)
XYZxyz(33.5214, 18.1899, 43.3320)
Luminance0.1819 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA34B1 #34CA4D
analogous
#9834CA #CA34B1 #CA3466
triadic
#CA34B1 #B1CA34 #34B1CA
tetradic
#CA34B1 #CA9834 #34CA4D #3466CA
square
#CA34B1 #CA9834 #34CA4D #3466CA
split-complementary
#CA34B1 #66CA34 #34CA98
monochromatic
#691B5C #992786 #CA34B1 #D764C4 #E495D6

Accessibility & contrast

On white

4.53
#CA34B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#CA34B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA34B1
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA34B1#FFFFFF#000000##000000
##CA34B11.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3568B4
Deuteranopia (green-blind)
#6B7EAD
Tritanopia (blue-blind)
#D4406F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ca34b1;
/* rgb */ color: rgb(202, 52, 177);
/* oklch */ color: oklch(59.6% 0.225 335.8);
Tailwind
colors: {
  custom: {
    50: '#de7bc8',
    500: '#ca34b1',
    950: '#000000',
  },
}
SCSS
$custom: #ca34b1;
$custom-light: #de7bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#ca34b1",
  "rgb": {
    "r": 202,
    "g": 52,
    "b": 177
  },
  "hsl": {
    "h": 310,
    "s": 59.055,
    "l": 49.804
  },
  "oklch": {
    "l": 0.59637,
    "c": 0.22473,
    "h": 335.8
  },
  "luminance": 0.18187
}

Semantic roles & 50–950 ramp

primary
#CA34B1
secondary
#8BCF96
accent
#E26046
background
#FEF8FC
surface
#FCEFF8
border
#D5CAD1
text
#160A13
muted
#847C82

Preview Lab

Preview with #CA34B1

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

Preview Lab → · Contrast checker → · Palette generator →

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