#CA5179#CA5179

#CA5179 is a mid, vivid pink. Relative luminance 0.198; OKLCH L 60.4% C 0.158 H 2.5°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#CA5179
RGBrgb(202, 81, 121)
HSLhsl(340, 53%, 55%)
HSVhsv(340, 60%, 79%)
CMYKcmyk(0%, 59.9%, 40.1%, 20.8%)
CIE-LABlab(51.64, 51.71, 2.38)
CIE-LCHlch(51.64, 51.76, 2.63°)
OKLaboklab(60.35% 0.1577 0.0068)
OKLCHoklch(60.35% 0.158 2.5)
XYZxyz(30.7527, 19.8253, 20.2926)
Luminance0.1982 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5179 #51CAA2
analogous
#CA51B6 #CA5179 #CA6551
triadic
#CA5179 #79CA51 #5179CA
tetradic
#CA5179 #B6CA51 #51CAA2 #6551CA
square
#CA5179 #B6CA51 #51CAA2 #6551CA
split-complementary
#CA5179 #51CA65 #51B6CA
monochromatic
#7B2542 #AA345B #CA5179 #D8809D #E7AFC1

Accessibility & contrast

On white

4.23
#CA5179 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#CA5179 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5179
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5179#FFFFFF#000000##000000
##CA51791.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#686C7A
Deuteranopia (green-blind)
#878476
Tritanopia (blue-blind)
#DA4460
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ca5179;
/* rgb */ color: rgb(202, 81, 121);
/* oklch */ color: oklch(60.4% 0.158 2.5);
Tailwind
colors: {
  custom: {
    50: '#de879f',
    500: '#ca5179',
    950: '#000000',
  },
}
SCSS
$custom: #ca5179;
$custom-light: #de879f;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5179",
  "rgb": {
    "r": 202,
    "g": 81,
    "b": 121
  },
  "hsl": {
    "h": 340.165,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60354,
    "c": 0.15789,
    "h": 2.5
  },
  "luminance": 0.19822
}

Semantic roles & 50–950 ramp

primary
#CA5179
secondary
#A2D5C4
accent
#DDAD4B
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CA5179

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

Preview Lab → · Contrast checker → · Palette generator →

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