#CA34A6#CA34A6

#CA34A6 is a mid, highly saturated pink. Relative luminance 0.178; OKLCH L 59.1% C 0.217 H 339.5°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#CA34A6
RGBrgb(202, 52, 166)
HSLhsl(314, 59%, 50%)
HSVhsv(314, 74%, 79%)
CMYKcmyk(0%, 74.3%, 17.8%, 20.8%)
CIE-LABlab(49.21, 68.43, -28.11)
CIE-LCHlch(49.21, 73.98, 337.67°)
OKLaboklab(59.1% 0.2038 -0.076)
OKLCHoklch(59.1% 0.217 339.5)
XYZxyz(32.4689, 17.7689, 37.7888)
Luminance0.1777 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA34A6 #34CA58
analogous
#A334CA #CA34A6 #CA345B
triadic
#CA34A6 #A6CA34 #34A6CA
tetradic
#CA34A6 #CAA334 #34CA58 #345BCA
square
#CA34A6 #CAA334 #34CA58 #345BCA
split-complementary
#CA34A6 #5BCA34 #34CAA3
monochromatic
#691B56 #99277E #CA34A6 #D764BC #E495D1

Accessibility & contrast

On white

4.61
#CA34A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#CA34A6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CA34A6
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA34A6#FFFFFF#000000##FFFFFF
##CA34A61.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E66A9
Deuteranopia (green-blind)
#6F7DA3
Tritanopia (blue-blind)
#D63A69
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ca34a6;
/* rgb */ color: rgb(202, 52, 166);
/* oklch */ color: oklch(59.1% 0.217 339.5);
Tailwind
colors: {
  custom: {
    50: '#de7ac0',
    500: '#ca34a6',
    950: '#000000',
  },
}
SCSS
$custom: #ca34a6;
$custom-light: #de7ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#ca34a6",
  "rgb": {
    "r": 202,
    "g": 52,
    "b": 166
  },
  "hsl": {
    "h": 314.4,
    "s": 59.055,
    "l": 49.804
  },
  "oklch": {
    "l": 0.59102,
    "c": 0.21749,
    "h": 339.5
  },
  "luminance": 0.17766
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA34A6

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

Preview Lab → · Contrast checker → · Palette generator →

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