#CA5A9C#CA5A9C

#CA5A9C is a light, vivid pink. Relative luminance 0.223; OKLCH L 62.7% C 0.160 H 346.3°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#CA5A9C
RGBrgb(202, 90, 156)
HSLhsl(325, 51%, 57%)
HSVhsv(325, 55%, 79%)
CMYKcmyk(0%, 55.4%, 22.8%, 20.8%)
CIE-LABlab(54.31, 51.91, -14.39)
CIE-LCHlch(54.31, 53.87, 344.50°)
OKLaboklab(62.71% 0.1558 -0.038)
OKLCHoklch(62.71% 0.16 346.3)
XYZxyz(34.0150, 22.2722, 33.9535)
Luminance0.2227 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5A9C #5ACA88
analogous
#C05ACA #CA5A9C #CA5A64
triadic
#CA5A9C #9CCA5A #5A9CCA
tetradic
#CA5A9C #CAC05A #5ACA88 #5A64CA
square
#CA5A9C #CAC05A #5ACA88 #5A64CA
split-complementary
#CA5A9C #64CA5A #5ACAC0
monochromatic
#80295D #AF387E #CA5A9C #D988B8 #E8B7D4

Accessibility & contrast

On white

3.85
#CA5A9C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA5A9C#FFFFFF#000000##000000
##CA5A9C1.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#65769E
Deuteranopia (green-blind)
#848999
Tritanopia (blue-blind)
#D65874
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ca5a9c;
/* rgb */ color: rgb(202, 90, 156);
/* oklch */ color: oklch(62.7% 0.160 346.3);
Tailwind
colors: {
  custom: {
    50: '#dd8db9',
    500: '#ca5a9c',
    950: '#000000',
  },
}
SCSS
$custom: #ca5a9c;
$custom-light: #dd8db9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5a9c",
  "rgb": {
    "r": 202,
    "g": 90,
    "b": 156
  },
  "hsl": {
    "h": 324.643,
    "s": 51.376,
    "l": 57.255
  },
  "oklch": {
    "l": 0.62712,
    "c": 0.16041,
    "h": 346.3
  },
  "luminance": 0.22269
}

Semantic roles & 50–950 ramp

primary
#CA5A9C
secondary
#A9D7BC
accent
#DB874D
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150D11
muted
#837D80

Preview Lab

Preview with #CA5A9C

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

Preview Lab → · Contrast checker → · Palette generator →

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