#CA51AC#CA51AC

#CA51AC is a light, vivid pink. Relative luminance 0.214; OKLCH L 62.2% C 0.185 H 338.5°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#CA51AC
RGBrgb(202, 81, 172)
HSLhsl(315, 53%, 55%)
HSVhsv(315, 60%, 79%)
CMYKcmyk(0%, 59.9%, 14.9%, 20.8%)
CIE-LABlab(53.41, 58.34, -25.14)
CIE-LCHlch(53.41, 63.52, 336.69°)
OKLaboklab(62.25% 0.1719 -0.0678)
OKLCHoklch(62.25% 0.185 338.5)
XYZxyz(34.7465, 21.4229, 41.3267)
Luminance0.2142 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA51AC #51CA6F
analogous
#AB51CA #CA51AC #CA516F
triadic
#CA51AC #ACCA51 #51ACCA
tetradic
#CA51AC #CAAB51 #51CA6F #516FCA
square
#CA51AC #CAAB51 #51CA6F #516FCA
split-complementary
#CA51AC #6FCA51 #51CAAB
monochromatic
#7B2566 #AA348D #CA51AC #D880C2 #E7AFD9

Accessibility & contrast

On white

3.97
#CA51AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#CA51AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA51AC
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA51AC#FFFFFF#000000##000000
##CA51AC1.003.975.285.28
#FFFFFF3.971.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5674AF
Deuteranopia (green-blind)
#7A86A9
Tritanopia (blue-blind)
#D45577
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ca51ac;
/* rgb */ color: rgb(202, 81, 172);
/* oklch */ color: oklch(62.2% 0.185 338.5);
Tailwind
colors: {
  custom: {
    50: '#dd88c5',
    500: '#ca51ac',
    950: '#000000',
  },
}
SCSS
$custom: #ca51ac;
$custom-light: #dd88c5;
$custom-dark: #000000;
JSON
{
  "hex": "#ca51ac",
  "rgb": {
    "r": 202,
    "g": 81,
    "b": 172
  },
  "hsl": {
    "h": 314.876,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.62245,
    "c": 0.18476,
    "h": 338.5
  },
  "luminance": 0.2142
}

Semantic roles & 50–950 ramp

primary
#CA51AC
secondary
#A2D5AF
accent
#DD6F4B
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #CA51AC

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

Preview Lab → · Contrast checker → · Palette generator →

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