#C54078#C54078

#C54078 is a mid, vivid pink. Relative luminance 0.169; OKLCH L 57.6% C 0.175 H 358.3°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#C54078
RGBrgb(197, 64, 120)
HSLhsl(335, 53%, 51%)
HSVhsv(335, 68%, 77%)
CMYKcmyk(0%, 67.5%, 39.1%, 22.7%)
CIE-LABlab(48.13, 57.27, -2.24)
CIE-LCHlch(48.13, 57.31, 357.76°)
OKLaboklab(57.58% 0.1754 -0.0052)
OKLCHoklch(57.58% 0.175 358.3)
XYZxyz(28.2514, 16.8965, 19.5393)
Luminance0.1689 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54078 #40C58D
analogous
#C540BA #C54078 #C54A40
triadic
#C54078 #78C540 #4078C5
tetradic
#C54078 #BAC540 #40C58D #4A40C5
square
#C54078 #BAC540 #40C58D #4A40C5
split-complementary
#C54078 #40C54A #40BAC5
monochromatic
#6A203F #992F5B #C54078 #D36F99 #E29EBA

Accessibility & contrast

On white

4.80
#C54078 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#C54078 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C54078
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54078#FFFFFF#000000##FFFFFF
##C540781.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59627A
Deuteranopia (green-blind)
#7D7B75
Tritanopia (blue-blind)
#D53257
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c54078;
/* rgb */ color: rgb(197, 64, 120);
/* oklch */ color: oklch(57.6% 0.175 358.3);
Tailwind
colors: {
  custom: {
    50: '#db7e9e',
    500: '#c54078',
    950: '#000000',
  },
}
SCSS
$custom: #c54078;
$custom-light: #db7e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#c54078",
  "rgb": {
    "r": 197,
    "g": 64,
    "b": 120
  },
  "hsl": {
    "h": 334.737,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.5758,
    "c": 0.17544,
    "h": 358.3
  },
  "luminance": 0.16893
}

Semantic roles & 50–950 ramp

primary
#C54078
secondary
#93CEB5
accent
#DD9F4B
background
#FEF8F9
surface
#FCEFF2
border
#D5CACC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #C54078

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

Preview Lab → · Contrast checker → · Palette generator →

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