#CA5078#CA5078

#CA5078 is a mid, vivid pink. Relative luminance 0.197; OKLCH L 60.2% C 0.159 H 2.7°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#CA5078
RGBrgb(202, 80, 120)
HSLhsl(340, 54%, 55%)
HSVhsv(340, 60%, 79%)
CMYKcmyk(0%, 60.4%, 40.6%, 20.8%)
CIE-LABlab(51.44, 52.05, 2.69)
CIE-LCHlch(51.44, 52.12, 2.96°)
OKLaboklab(60.2% 0.1588 0.0076)
OKLCHoklch(60.2% 0.159 2.7)
XYZxyz(30.6179, 19.6534, 19.9467)
Luminance0.1965 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA5078 #50CAA2
analogous
#CA50B5 #CA5078 #CA6550
triadic
#CA5078 #78CA50 #5078CA
tetradic
#CA5078 #B5CA50 #50CAA2 #6550CA
square
#CA5078 #B5CA50 #50CAA2 #6550CA
split-complementary
#CA5078 #50CA65 #50B5CA
monochromatic
#7A2541 #A9335A #CA5078 #D87F9C #E6AEC0

Accessibility & contrast

On white

4.26
#CA5078 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#CA5078 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA5078
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA5078#FFFFFF#000000##000000
##CA50781.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#676C79
Deuteranopia (green-blind)
#878375
Tritanopia (blue-blind)
#DA435F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ca5078;
/* rgb */ color: rgb(202, 80, 120);
/* oklch */ color: oklch(60.2% 0.159 2.7);
Tailwind
colors: {
  custom: {
    50: '#de879e',
    500: '#ca5078',
    950: '#000000',
  },
}
SCSS
$custom: #ca5078;
$custom-light: #de879e;
$custom-dark: #000000;
JSON
{
  "hex": "#ca5078",
  "rgb": {
    "r": 202,
    "g": 80,
    "b": 120
  },
  "hsl": {
    "h": 340.328,
    "s": 53.509,
    "l": 55.294
  },
  "oklch": {
    "l": 0.60198,
    "c": 0.15898,
    "h": 2.7
  },
  "luminance": 0.1965
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CA5078

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

Preview Lab → · Contrast checker → · Palette generator →

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