#CA46AA#CA46AA

#CA46AA is a mid, vivid pink. Relative luminance 0.198; OKLCH L 60.9% C 0.199 H 338.7°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#CA46AA
RGBrgb(202, 70, 170)
HSLhsl(315, 55%, 53%)
HSVhsv(315, 65%, 79%)
CMYKcmyk(0%, 65.3%, 15.8%, 20.8%)
CIE-LABlab(51.66, 62.62, -26.67)
CIE-LCHlch(51.66, 68.07, 336.93°)
OKLaboklab(60.93% 0.1852 -0.0721)
OKLCHoklch(60.93% 0.199 338.7)
XYZxyz(33.8037, 19.8422, 40.0720)
Luminance0.1984 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA46AA #46CA66
analogous
#A846CA #CA46AA #CA4668
triadic
#CA46AA #AACA46 #46AACA
tetradic
#CA46AA #CAA846 #46CA66 #4668CA
square
#CA46AA #CAA846 #46CA66 #4668CA
split-complementary
#CA46AA #68CA46 #46CAA8
monochromatic
#742160 #A42F88 #CA46AA #D876C0 #E5A5D6

Accessibility & contrast

On white

4.23
#CA46AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#CA46AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA46AA
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA46AA#FFFFFF#000000##000000
##CA46AA1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C6EAD
Deuteranopia (green-blind)
#7583A7
Tritanopia (blue-blind)
#D54B72
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ca46aa;
/* rgb */ color: rgb(202, 70, 170);
/* oklch */ color: oklch(60.9% 0.199 338.7);
Tailwind
colors: {
  custom: {
    50: '#de83c3',
    500: '#ca46aa',
    950: '#000000',
  },
}
SCSS
$custom: #ca46aa;
$custom-light: #de83c3;
$custom-dark: #000000;
JSON
{
  "hex": "#ca46aa",
  "rgb": {
    "r": 202,
    "g": 70,
    "b": 170
  },
  "hsl": {
    "h": 314.545,
    "s": 55.462,
    "l": 53.333
  },
  "oklch": {
    "l": 0.60935,
    "c": 0.19871,
    "h": 338.7
  },
  "luminance": 0.19839
}

Semantic roles & 50–950 ramp

primary
#CA46AA
secondary
#9AD2A7
accent
#DF6D49
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160B12
muted
#847C81

Preview Lab

Preview with #CA46AA

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

Preview Lab → · Contrast checker → · Palette generator →

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