#C54074#C54074

#C54074 is a mid, vivid pink. Relative luminance 0.168; OKLCH L 57.5% C 0.174 H 0.2°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#C54074
RGBrgb(197, 64, 116)
HSLhsl(337, 53%, 51%)
HSVhsv(337, 68%, 77%)
CMYKcmyk(0%, 67.5%, 41.1%, 22.7%)
CIE-LABlab(48.01, 56.85, 0.01)
CIE-LCHlch(48.01, 56.85, 0.01°)
OKLaboklab(57.45% 0.174 0.0007)
OKLCHoklch(57.45% 0.174 0.2)
XYZxyz(28.0137, 16.8015, 18.2874)
Luminance0.1680 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54074 #40C591
analogous
#C540B7 #C54074 #C54E40
triadic
#C54074 #74C540 #4074C5
tetradic
#C54074 #B7C540 #40C591 #4E40C5
square
#C54074 #B7C540 #40C591 #4E40C5
split-complementary
#C54074 #40C54E #40B7C5
monochromatic
#6A203D #992F58 #C54074 #D36F96 #E29EB8

Accessibility & contrast

On white

4.82
#C54074 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#C54074 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C54074
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54074#FFFFFF#000000##FFFFFF
##C540741.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6275
Deuteranopia (green-blind)
#7E7B71
Tritanopia (blue-blind)
#D53055
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c54074;
/* rgb */ color: rgb(197, 64, 116);
/* oklch */ color: oklch(57.5% 0.174 0.2);
Tailwind
colors: {
  custom: {
    50: '#db7e9b',
    500: '#c54074',
    950: '#000000',
  },
}
SCSS
$custom: #c54074;
$custom-light: #db7e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#c54074",
  "rgb": {
    "r": 197,
    "g": 64,
    "b": 116
  },
  "hsl": {
    "h": 336.541,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.57451,
    "c": 0.17403,
    "h": 0.2
  },
  "luminance": 0.16798
}

Semantic roles & 50–950 ramp

primary
#C54074
secondary
#93CEB7
accent
#DDA44B
background
#FEF8F9
surface
#FCEFF2
border
#D5CACC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #C54074

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

Preview Lab → · Contrast checker → · Palette generator →

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