#C54174#C54174

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

Color values

HEX#C54174
RGBrgb(197, 65, 116)
HSLhsl(337, 53%, 51%)
HSVhsv(337, 67%, 77%)
CMYKcmyk(0%, 67%, 41.1%, 22.7%)
CIE-LABlab(48.15, 56.45, 0.22)
CIE-LCHlch(48.15, 56.45, 0.23°)
OKLaboklab(57.56% 0.1728 0.0013)
OKLCHoklch(57.56% 0.173 0.4)
XYZxyz(28.0706, 16.9152, 18.3064)
Luminance0.1691 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54174 #41C592
analogous
#C541B6 #C54174 #C55041
triadic
#C54174 #74C541 #4174C5
tetradic
#C54174 #B6C541 #41C592 #5041C5
square
#C54174 #B6C541 #41C592 #5041C5
split-complementary
#C54174 #41C550 #41B6C5
monochromatic
#6B213D #9A2F58 #C54174 #D37096 #E29FB9

Accessibility & contrast

On white

4.79
#C54174 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C54174
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54174#FFFFFF#000000##FFFFFF
##C541741.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B6275
Deuteranopia (green-blind)
#7F7C71
Tritanopia (blue-blind)
#D53156
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c54174;
/* rgb */ color: rgb(197, 65, 116);
/* oklch */ color: oklch(57.6% 0.173 0.4);
Tailwind
colors: {
  custom: {
    50: '#db7e9b',
    500: '#c54174',
    950: '#000000',
  },
}
SCSS
$custom: #c54174;
$custom-light: #db7e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#c54174",
  "rgb": {
    "r": 197,
    "g": 65,
    "b": 116
  },
  "hsl": {
    "h": 336.818,
    "s": 53.226,
    "l": 51.373
  },
  "oklch": {
    "l": 0.57558,
    "c": 0.17277,
    "h": 0.4
  },
  "luminance": 0.16912
}

Semantic roles & 50–950 ramp

primary
#C54174
secondary
#94CEB8
accent
#DDA44B
background
#FEF8F9
surface
#FCEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #C54174

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

Preview Lab → · Contrast checker → · Palette generator →

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