#CA54A7#CA54A7

#CA54A7 is a light, vivid pink. Relative luminance 0.217; OKLCH L 62.4% C 0.177 H 340.7°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#CA54A7
RGBrgb(202, 84, 167)
HSLhsl(318, 53%, 56%)
HSVhsv(318, 58%, 79%)
CMYKcmyk(0%, 58.4%, 17.3%, 20.8%)
CIE-LABlab(53.70, 56.26, -21.77)
CIE-LCHlch(53.70, 60.33, 338.84°)
OKLaboklab(62.39% 0.1669 -0.0584)
OKLCHoklch(62.39% 0.177 340.7)
XYZxyz(34.5032, 21.6901, 38.9211)
Luminance0.2169 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA54A7 #54CA77
analogous
#B254CA #CA54A7 #CA546C
triadic
#CA54A7 #A7CA54 #54A7CA
tetradic
#CA54A7 #CAB254 #54CA77 #546CCA
square
#CA54A7 #CAB254 #54CA77 #546CCA
split-complementary
#CA54A7 #6CCA54 #54CAB2
monochromatic
#7D2763 #AC3588 #CA54A7 #D883BF #E7B1D7

Accessibility & contrast

On white

3.93
#CA54A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#CA54A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA54A7
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA54A7#FFFFFF#000000##000000
##CA54A71.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B74AA
Deuteranopia (green-blind)
#7D87A4
Tritanopia (blue-blind)
#D55676
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ca54a7;
/* rgb */ color: rgb(202, 84, 167);
/* oklch */ color: oklch(62.4% 0.177 340.7);
Tailwind
colors: {
  custom: {
    50: '#dd8ac1',
    500: '#ca54a7',
    950: '#000000',
  },
}
SCSS
$custom: #ca54a7;
$custom-light: #dd8ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#ca54a7",
  "rgb": {
    "r": 202,
    "g": 84,
    "b": 167
  },
  "hsl": {
    "h": 317.797,
    "s": 52.679,
    "l": 56.078
  },
  "oklch": {
    "l": 0.62391,
    "c": 0.17679,
    "h": 340.7
  },
  "luminance": 0.21687
}

Semantic roles & 50–950 ramp

primary
#CA54A7
secondary
#A5D5B3
accent
#DC774C
background
#FDF8FB
surface
#FBF0F7
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #CA54A7

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

Preview Lab → · Contrast checker → · Palette generator →

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