#CA34A7#CA34A7

#CA34A7 is a mid, highly saturated pink. Relative luminance 0.178; OKLCH L 59.2% C 0.218 H 339.2°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#CA34A7
RGBrgb(202, 52, 167)
HSLhsl(314, 59%, 50%)
HSVhsv(314, 74%, 79%)
CMYKcmyk(0%, 74.3%, 17.3%, 20.8%)
CIE-LABlab(49.26, 68.56, -28.63)
CIE-LCHlch(49.26, 74.30, 337.33°)
OKLaboklab(59.15% 0.2039 -0.0775)
OKLCHoklch(59.15% 0.218 339.2)
XYZxyz(32.5610, 17.8057, 38.2737)
Luminance0.1780 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA34A7 #34CA57
analogous
#A234CA #CA34A7 #CA345C
triadic
#CA34A7 #A7CA34 #34A7CA
tetradic
#CA34A7 #CAA234 #34CA57 #345CCA
square
#CA34A7 #CAA234 #34CA57 #345CCA
split-complementary
#CA34A7 #5CCA34 #34CAA2
monochromatic
#691B57 #99277F #CA34A7 #D764BC #E495D1

Accessibility & contrast

On white

4.60
#CA34A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#CA34A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CA34A7
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA34A7#FFFFFF#000000##FFFFFF
##CA34A71.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D66AA
Deuteranopia (green-blind)
#6F7DA4
Tritanopia (blue-blind)
#D63A6A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ca34a7;
/* rgb */ color: rgb(202, 52, 167);
/* oklch */ color: oklch(59.2% 0.218 339.2);
Tailwind
colors: {
  custom: {
    50: '#de7ac1',
    500: '#ca34a7',
    950: '#000000',
  },
}
SCSS
$custom: #ca34a7;
$custom-light: #de7ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca34a7",
  "rgb": {
    "r": 202,
    "g": 52,
    "b": 167
  },
  "hsl": {
    "h": 314,
    "s": 59.055,
    "l": 49.804
  },
  "oklch": {
    "l": 0.5915,
    "c": 0.21812,
    "h": 339.2
  },
  "luminance": 0.17803
}

Semantic roles & 50–950 ramp

primary
#CA34A7
secondary
#8BCF9B
accent
#E26A46
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160A12
muted
#847C81

Preview Lab

Preview with #CA34A7

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

Preview Lab → · Contrast checker → · Palette generator →

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