#CA46AB#CA46AB

#CA46AB is a mid, vivid pink. Relative luminance 0.199; OKLCH L 61.0% C 0.199 H 338.4°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#CA46AB
RGBrgb(202, 70, 171)
HSLhsl(314, 55%, 53%)
HSVhsv(314, 65%, 79%)
CMYKcmyk(0%, 65.3%, 15.3%, 20.8%)
CIE-LABlab(51.70, 62.77, -27.19)
CIE-LCHlch(51.70, 68.40, 336.58°)
OKLaboklab(60.98% 0.1853 -0.0735)
OKLCHoklch(60.98% 0.199 338.4)
XYZxyz(33.8986, 19.8801, 40.5721)
Luminance0.1988 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA46AB #46CA65
analogous
#A746CA #CA46AB #CA4669
triadic
#CA46AB #ABCA46 #46ABCA
tetradic
#CA46AB #CAA746 #46CA65 #4669CA
square
#CA46AB #CAA746 #46CA65 #4669CA
split-complementary
#CA46AB #69CA46 #46CAA7
monochromatic
#742161 #A42F88 #CA46AB #D876C1 #E5A5D6

Accessibility & contrast

On white

4.22
#CA46AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#CA46AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA46AB
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA46AB#FFFFFF#000000##000000
##CA46AB1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ca46ab;
/* rgb */ color: rgb(202, 70, 171);
/* oklch */ color: oklch(61.0% 0.199 338.4);
Tailwind
colors: {
  custom: {
    50: '#de83c4',
    500: '#ca46ab',
    950: '#000000',
  },
}
SCSS
$custom: #ca46ab;
$custom-light: #de83c4;
$custom-dark: #000000;
JSON
{
  "hex": "#ca46ab",
  "rgb": {
    "r": 202,
    "g": 70,
    "b": 171
  },
  "hsl": {
    "h": 314.091,
    "s": 55.462,
    "l": 53.333
  },
  "oklch": {
    "l": 0.60981,
    "c": 0.1994,
    "h": 338.4
  },
  "luminance": 0.19877
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA46AB

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

Preview Lab → · Contrast checker → · Palette generator →

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