#C54A79#C54A79

#C54A79 is a mid, vivid pink. Relative luminance 0.181; OKLCH L 58.7% C 0.163 H 359.7°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#C54A79
RGBrgb(197, 74, 121)
HSLhsl(337, 51%, 53%)
HSVhsv(337, 62%, 77%)
CMYKcmyk(0%, 62.4%, 38.6%, 22.7%)
CIE-LABlab(49.68, 53.23, -0.57)
CIE-LCHlch(49.68, 53.23, 359.38°)
OKLaboklab(58.74% 0.1626 -0.0008)
OKLCHoklch(58.74% 0.163 359.7)
XYZxyz(28.9277, 18.1516, 20.0657)
Luminance0.1815 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54A79 #4AC596
analogous
#C54AB6 #C54A79 #C5584A
triadic
#C54A79 #79C54A #4A79C5
tetradic
#C54A79 #B6C54A #4AC596 #584AC5
square
#C54A79 #B6C54A #4AC596 #584AC5
split-complementary
#C54A79 #4AC558 #4AB6C5
monochromatic
#712441 #9F335C #C54A79 #D4789B #E3A7BE

Accessibility & contrast

On white

4.54
#C54A79 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#C54A79 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C54A79
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54A79#FFFFFF#000000##000000
##C54A791.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#60677A
Deuteranopia (green-blind)
#817F76
Tritanopia (blue-blind)
#D43E5C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c54a79;
/* rgb */ color: rgb(197, 74, 121);
/* oklch */ color: oklch(58.7% 0.163 359.7);
Tailwind
colors: {
  custom: {
    50: '#db839f',
    500: '#c54a79',
    950: '#000000',
  },
}
SCSS
$custom: #c54a79;
$custom-light: #db839f;
$custom-dark: #000000;
JSON
{
  "hex": "#c54a79",
  "rgb": {
    "r": 197,
    "g": 74,
    "b": 121
  },
  "hsl": {
    "h": 337.073,
    "s": 51.464,
    "l": 53.137
  },
  "oklch": {
    "l": 0.58739,
    "c": 0.16261,
    "h": 359.7
  },
  "luminance": 0.18148
}

Semantic roles & 50–950 ramp

primary
#C54A79
secondary
#9BD0BC
accent
#DBA54D
background
#FEF8F9
surface
#FCEFF2
border
#D5CACC
text
#150B0E
muted
#847C7E

Preview Lab

Preview with #C54A79

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

Preview Lab → · Contrast checker → · Palette generator →

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