#CA5178#CA5178

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

Color values

HEX#CA5178
RGBrgb(202, 81, 120)
HSLhsl(341, 53%, 55%)
HSVhsv(341, 60%, 79%)
CMYKcmyk(0%, 59.9%, 40.6%, 20.8%)
CIE-LABlab(51.61, 51.60, 2.94)
CIE-LCHlch(51.61, 51.68, 3.26°)
OKLaboklab(60.32% 0.1574 0.0082)
OKLCHoklch(60.32% 0.158 3)
XYZxyz(30.6917, 19.8009, 19.9713)
Luminance0.1980 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5178 #51CAA3
analogous
#CA51B5 #CA5178 #CA6651
triadic
#CA5178 #78CA51 #5178CA
tetradic
#CA5178 #B5CA51 #51CAA3 #6651CA
square
#CA5178 #B5CA51 #51CAA3 #6651CA
split-complementary
#CA5178 #51CA66 #51B5CA
monochromatic
#7B2541 #AA345A #CA5178 #D8809C #E7AFC1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA5178#FFFFFF#000000##000000
##CA51781.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)
#686C79
Deuteranopia (green-blind)
#888475
Tritanopia (blue-blind)
#DA4460
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ca5178;
/* rgb */ color: rgb(202, 81, 120);
/* oklch */ color: oklch(60.3% 0.158 3.0);
Tailwind
colors: {
  custom: {
    50: '#de879e',
    500: '#ca5178',
    950: '#000000',
  },
}
SCSS
$custom: #ca5178;
$custom-light: #de879e;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5178",
  "rgb": {
    "r": 202,
    "g": 81,
    "b": 120
  },
  "hsl": {
    "h": 340.661,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60324,
    "c": 0.15759,
    "h": 3
  },
  "luminance": 0.19797
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA5178

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

Preview Lab → · Contrast checker → · Palette generator →

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