#CA54A2#CA54A2

#CA54A2 is a light, vivid pink. Relative luminance 0.215; OKLCH L 62.2% C 0.173 H 342.9°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#CA54A2
RGBrgb(202, 84, 162)
HSLhsl(320, 53%, 56%)
HSVhsv(320, 58%, 79%)
CMYKcmyk(0%, 58.4%, 19.8%, 20.8%)
CIE-LABlab(53.50, 55.53, -19.15)
CIE-LCHlch(53.50, 58.74, 340.98°)
OKLaboklab(62.18% 0.1657 -0.0511)
OKLCHoklch(62.18% 0.173 342.9)
XYZxyz(34.0499, 21.5088, 36.5337)
Luminance0.2151 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA54A2 #54CA7C
analogous
#B754CA #CA54A2 #CA5467
triadic
#CA54A2 #A2CA54 #54A2CA
tetradic
#CA54A2 #CAB754 #54CA7C #5467CA
square
#CA54A2 #CAB754 #54CA7C #5467CA
split-complementary
#CA54A2 #67CA54 #54CAB7
monochromatic
#7D2760 #AC3583 #CA54A2 #D883BB #E7B1D5

Accessibility & contrast

On white

3.96
#CA54A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#CA54A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA54A2
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA54A2#FFFFFF#000000##000000
##CA54A21.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D74A4
Deuteranopia (green-blind)
#7F879F
Tritanopia (blue-blind)
#D65474
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ca54a2;
/* rgb */ color: rgb(202, 84, 162);
/* oklch */ color: oklch(62.2% 0.173 342.9);
Tailwind
colors: {
  custom: {
    50: '#dd8abd',
    500: '#ca54a2',
    950: '#000000',
  },
}
SCSS
$custom: #ca54a2;
$custom-light: #dd8abd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca54a2",
  "rgb": {
    "r": 202,
    "g": 84,
    "b": 162
  },
  "hsl": {
    "h": 320.339,
    "s": 52.679,
    "l": 56.078
  },
  "oklch": {
    "l": 0.62183,
    "c": 0.17343,
    "h": 342.9
  },
  "luminance": 0.21506
}

Semantic roles & 50–950 ramp

primary
#CA54A2
secondary
#A5D5B5
accent
#DC7D4C
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #CA54A2

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

Preview Lab → · Contrast checker → · Palette generator →

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