#CA3AA7#CA3AA7

#CA3AA7 is a mid, highly saturated pink. Relative luminance 0.184; OKLCH L 59.6% C 0.212 H 339.4°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#CA3AA7
RGBrgb(202, 58, 167)
HSLhsl(315, 58%, 51%)
HSVhsv(315, 71%, 79%)
CMYKcmyk(0%, 71.3%, 17.3%, 20.8%)
CIE-LABlab(49.95, 66.61, -27.56)
CIE-LCHlch(49.95, 72.09, 337.52°)
OKLaboklab(59.65% 0.198 -0.0745)
OKLCHoklch(59.65% 0.212 339.4)
XYZxyz(32.8460, 18.3758, 38.3688)
Luminance0.1837 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA3AA7 #3ACA5D
analogous
#A53ACA #CA3AA7 #CA3A5F
triadic
#CA3AA7 #A7CA3A #3AA7CA
tetradic
#CA3AA7 #CAA53A #3ACA5D #3A5FCA
square
#CA3AA7 #CAA53A #3ACA5D #3A5FCA
split-complementary
#CA3AA7 #5FCA3A #3ACAA5
monochromatic
#6C1D59 #9D2A81 #CA3AA7 #D76ABD #E49AD2

Accessibility & contrast

On white

4.49
#CA3AA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#CA3AA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA3AA7
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA3AA7#FFFFFF#000000##000000
##CA3AA71.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4368AA
Deuteranopia (green-blind)
#717FA4
Tritanopia (blue-blind)
#D63F6C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ca3aa7;
/* rgb */ color: rgb(202, 58, 167);
/* oklch */ color: oklch(59.6% 0.212 339.4);
Tailwind
colors: {
  custom: {
    50: '#de7dc1',
    500: '#ca3aa7',
    950: '#000000',
  },
}
SCSS
$custom: #ca3aa7;
$custom-light: #de7dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca3aa7",
  "rgb": {
    "r": 202,
    "g": 58,
    "b": 167
  },
  "hsl": {
    "h": 314.583,
    "s": 57.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.59649,
    "c": 0.21155,
    "h": 339.4
  },
  "luminance": 0.18373
}

Semantic roles & 50–950 ramp

primary
#CA3AA7
secondary
#90D0A0
accent
#E16C47
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CA3AA7

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

Preview Lab → · Contrast checker → · Palette generator →

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