#CA54B2#CA54B2

#CA54B2 is a light, vivid pink. Relative luminance 0.221; OKLCH L 62.9% C 0.185 H 336.2°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#CA54B2
RGBrgb(202, 84, 178)
HSLhsl(312, 53%, 56%)
HSVhsv(312, 58%, 79%)
CMYKcmyk(0%, 58.4%, 11.9%, 20.8%)
CIE-LABlab(54.15, 57.93, -27.48)
CIE-LCHlch(54.15, 64.12, 334.62°)
OKLaboklab(62.87% 0.169 -0.0745)
OKLCHoklch(62.87% 0.185 336.2)
XYZxyz(35.5637, 22.1143, 44.5063)
Luminance0.2211 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA54B2 #54CA6C
analogous
#A754CA #CA54B2 #CA5477
triadic
#CA54B2 #B2CA54 #54B2CA
tetradic
#CA54B2 #CAA754 #54CA6C #5477CA
square
#CA54B2 #CAA754 #54CA6C #5477CA
split-complementary
#CA54B2 #77CA54 #54CAA7
monochromatic
#7D276B #AC3594 #CA54B2 #D883C7 #E7B1DC

Accessibility & contrast

On white

3.87
#CA54B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#CA54B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA54B2
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA54B2#FFFFFF#000000##000000
##CA54B21.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5676B5
Deuteranopia (green-blind)
#7988AF
Tritanopia (blue-blind)
#D45A7B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ca54b2;
/* rgb */ color: rgb(202, 84, 178);
/* oklch */ color: oklch(62.9% 0.185 336.2);
Tailwind
colors: {
  custom: {
    50: '#dd8ac9',
    500: '#ca54b2',
    950: '#000000',
  },
}
SCSS
$custom: #ca54b2;
$custom-light: #dd8ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca54b2",
  "rgb": {
    "r": 202,
    "g": 84,
    "b": 178
  },
  "hsl": {
    "h": 312.203,
    "s": 52.679,
    "l": 56.078
  },
  "oklch": {
    "l": 0.62871,
    "c": 0.18472,
    "h": 336.2
  },
  "luminance": 0.22112
}

Semantic roles & 50–950 ramp

primary
#CA54B2
secondary
#A5D5AE
accent
#DC694C
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #CA54B2

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

Preview Lab → · Contrast checker → · Palette generator →

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