#CA3AA8#CA3AA8

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

Color values

HEX#CA3AA8
RGBrgb(202, 58, 168)
HSLhsl(314, 58%, 51%)
HSVhsv(314, 71%, 79%)
CMYKcmyk(0%, 71.3%, 16.8%, 20.8%)
CIE-LABlab(49.99, 66.75, -28.08)
CIE-LCHlch(49.99, 72.42, 337.18°)
OKLaboklab(59.7% 0.1981 -0.076)
OKLCHoklch(59.7% 0.212 339)
XYZxyz(32.9388, 18.4129, 38.8575)
Luminance0.1841 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA3AA8 #3ACA5C
analogous
#A43ACA #CA3AA8 #CA3A60
triadic
#CA3AA8 #A8CA3A #3AA8CA
tetradic
#CA3AA8 #CAA43A #3ACA5C #3A60CA
square
#CA3AA8 #CAA43A #3ACA5C #3A60CA
split-complementary
#CA3AA8 #60CA3A #3ACAA4
monochromatic
#6C1D5A #9D2A82 #CA3AA8 #D76ABD #E49AD3

Accessibility & contrast

On white

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

On black

4.68
#CA3AA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA3AA8
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA3AA8#FFFFFF#000000##000000
##CA3AA81.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4268AB
Deuteranopia (green-blind)
#717FA5
Tritanopia (blue-blind)
#D5406C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ca3aa8;
/* rgb */ color: rgb(202, 58, 168);
/* oklch */ color: oklch(59.7% 0.212 339.0);
Tailwind
colors: {
  custom: {
    50: '#de7dc2',
    500: '#ca3aa8',
    950: '#000000',
  },
}
SCSS
$custom: #ca3aa8;
$custom-light: #de7dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#ca3aa8",
  "rgb": {
    "r": 202,
    "g": 58,
    "b": 168
  },
  "hsl": {
    "h": 314.167,
    "s": 57.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.59695,
    "c": 0.2122,
    "h": 339
  },
  "luminance": 0.1841
}

Semantic roles & 50–950 ramp

primary
#CA3AA8
secondary
#90D09F
accent
#E16B47
background
#FEF8FB
surface
#FCEFF7
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CA3AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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