#CA2978#CA2978

#CA2978 is a mid, highly saturated pink. Relative luminance 0.155; OKLCH L 56.4% C 0.204 H 356.7°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#CA2978
RGBrgb(202, 41, 120)
HSLhsl(331, 66%, 48%)
HSVhsv(331, 80%, 79%)
CMYKcmyk(0%, 79.7%, 40.6%, 20.8%)
CIE-LABlab(46.31, 66.23, -4.82)
CIE-LCHlch(46.31, 66.41, 355.84°)
OKLaboklab(56.41% 0.2038 -0.0118)
OKLCHoklch(56.41% 0.204 356.7)
XYZxyz(28.5423, 15.5022, 19.2549)
Luminance0.1550 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA2978 #29CA7B
analogous
#CA29C8 #CA2978 #CA2B29
triadic
#CA2978 #78CA29 #2978CA
tetradic
#CA2978 #C8CA29 #29CA7B #2B29CA
square
#CA2978 #C8CA29 #29CA7B #2B29CA
split-complementary
#CA2978 #29CA2B #29C8CA
monochromatic
#64143C #971F5A #CA2978 #DC5497 #E787B6

Accessibility & contrast

On white

5.12
#CA2978 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#CA2978 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA2978
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA2978#FFFFFF#000000##FFFFFF
##CA29781.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5B7A
Deuteranopia (green-blind)
#7A7874
Tritanopia (blue-blind)
#DB074E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #ca2978;
/* rgb */ color: rgb(202, 41, 120);
/* oklch */ color: oklch(56.4% 0.204 356.7);
Tailwind
colors: {
  custom: {
    50: '#e0749e',
    500: '#ca2978',
    950: '#000000',
  },
}
SCSS
$custom: #ca2978;
$custom-light: #e0749e;
$custom-dark: #000000;
JSON
{
  "hex": "#ca2978",
  "rgb": {
    "r": 202,
    "g": 41,
    "b": 120
  },
  "hsl": {
    "h": 330.559,
    "s": 66.255,
    "l": 47.647
  },
  "oklch": {
    "l": 0.56411,
    "c": 0.20414,
    "h": 356.7
  },
  "luminance": 0.15498
}

Semantic roles & 50–950 ramp

primary
#CA2978
secondary
#7FD0A8
accent
#E9953F
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#16090E
muted
#847B7E

Preview Lab

Preview with #CA2978

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

Preview Lab → · Contrast checker → · Palette generator →

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