#CA54B5#CA54B5

#CA54B5 is a light, vivid pink. Relative luminance 0.222; OKLCH L 63.0% C 0.187 H 335.1°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#CA54B5
RGBrgb(202, 84, 181)
HSLhsl(311, 53%, 56%)
HSVhsv(311, 58%, 79%)
CMYKcmyk(0%, 58.4%, 10.4%, 20.8%)
CIE-LABlab(54.28, 58.41, -29.02)
CIE-LCHlch(54.28, 65.22, 333.58°)
OKLaboklab(63.01% 0.1696 -0.0789)
OKLCHoklch(63.01% 0.187 335.1)
XYZxyz(35.8682, 22.2361, 46.1100)
Luminance0.2223 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA54B5 #54CA69
analogous
#A454CA #CA54B5 #CA547A
triadic
#CA54B5 #B5CA54 #54B5CA
tetradic
#CA54B5 #CAA454 #54CA69 #547ACA
square
#CA54B5 #CAA454 #54CA69 #547ACA
split-complementary
#CA54B5 #7ACA54 #54CAA4
monochromatic
#7D276E #AC3597 #CA54B5 #D883C9 #E7B1DD

Accessibility & contrast

On white

3.86
#CA54B5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#CA54B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA54B5
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA54B5#FFFFFF#000000##000000
##CA54B51.003.865.455.45
#FFFFFF3.861.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5477B8
Deuteranopia (green-blind)
#7888B2
Tritanopia (blue-blind)
#D35B7D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ca54b5;
/* rgb */ color: rgb(202, 84, 181);
/* oklch */ color: oklch(63.0% 0.187 335.1);
Tailwind
colors: {
  custom: {
    50: '#dd8acb',
    500: '#ca54b5',
    950: '#000000',
  },
}
SCSS
$custom: #ca54b5;
$custom-light: #dd8acb;
$custom-dark: #000000;
JSON
{
  "hex": "#ca54b5",
  "rgb": {
    "r": 202,
    "g": 84,
    "b": 181
  },
  "hsl": {
    "h": 310.678,
    "s": 52.679,
    "l": 56.078
  },
  "oklch": {
    "l": 0.63007,
    "c": 0.187,
    "h": 335.1
  },
  "luminance": 0.22233
}

Semantic roles & 50–950 ramp

primary
#CA54B5
secondary
#A5D5AD
accent
#DC654C
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #CA54B5

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

Preview Lab → · Contrast checker → · Palette generator →

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