#CA51A4#CA51A4

#CA51A4 is a mid, vivid pink. Relative luminance 0.211; OKLCH L 61.9% C 0.179 H 341.8°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#CA51A4
RGBrgb(202, 81, 164)
HSLhsl(319, 53%, 55%)
HSVhsv(319, 60%, 79%)
CMYKcmyk(0%, 59.9%, 18.8%, 20.8%)
CIE-LABlab(53.09, 57.16, -20.95)
CIE-LCHlch(53.09, 60.88, 339.87°)
OKLaboklab(61.9% 0.1702 -0.0561)
OKLCHoklch(61.9% 0.179 341.8)
XYZxyz(34.0012, 21.1247, 37.4015)
Luminance0.2112 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA51A4 #51CA77
analogous
#B351CA #CA51A4 #CA5167
triadic
#CA51A4 #A4CA51 #51A4CA
tetradic
#CA51A4 #CAB351 #51CA77 #5167CA
square
#CA51A4 #CAB351 #51CA77 #5167CA
split-complementary
#CA51A4 #67CA51 #51CAB3
monochromatic
#7B2560 #AA3485 #CA51A4 #D880BD #E7AFD5

Accessibility & contrast

On white

4.02
#CA51A4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#CA51A4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA51A4
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA51A4#FFFFFF#000000##000000
##CA51A41.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5972A7
Deuteranopia (green-blind)
#7C86A1
Tritanopia (blue-blind)
#D55273
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ca51a4;
/* rgb */ color: rgb(202, 81, 164);
/* oklch */ color: oklch(61.9% 0.179 341.8);
Tailwind
colors: {
  custom: {
    50: '#dd88bf',
    500: '#ca51a4',
    950: '#000000',
  },
}
SCSS
$custom: #ca51a4;
$custom-light: #dd88bf;
$custom-dark: #000000;
JSON
{
  "hex": "#ca51a4",
  "rgb": {
    "r": 202,
    "g": 81,
    "b": 164
  },
  "hsl": {
    "h": 318.843,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61901,
    "c": 0.17922,
    "h": 341.8
  },
  "luminance": 0.21122
}

Semantic roles & 50–950 ramp

primary
#CA51A4
secondary
#A2D5B2
accent
#DD794B
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#150C12
muted
#847D81

Preview Lab

Preview with #CA51A4

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

Preview Lab → · Contrast checker → · Palette generator →

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