#C54276#C54276

#C54276 is a mid, vivid pink. Relative luminance 0.171; OKLCH L 57.7% C 0.172 H 359.6°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#C54276
RGBrgb(197, 66, 118)
HSLhsl(336, 53%, 52%)
HSVhsv(336, 66%, 77%)
CMYKcmyk(0%, 66.5%, 40.1%, 22.7%)
CIE-LABlab(48.36, 56.26, -0.69)
CIE-LCHlch(48.36, 56.26, 359.30°)
OKLaboklab(57.73% 0.1722 -0.0011)
OKLCHoklch(57.73% 0.172 359.6)
XYZxyz(28.2461, 17.0781, 18.9450)
Luminance0.1708 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54276 #42C591
analogous
#C542B8 #C54276 #C55042
triadic
#C54276 #76C542 #4276C5
tetradic
#C54276 #B8C542 #42C591 #5042C5
square
#C54276 #B8C542 #42C591 #5042C5
split-complementary
#C54276 #42C550 #42B8C5
monochromatic
#6C213F #9A2F5A #C54276 #D37198 #E2A0BA

Accessibility & contrast

On white

4.76
#C54276 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#C54276 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C54276
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54276#FFFFFF#000000##FFFFFF
##C542761.004.764.424.76
#FFFFFF4.761.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B6377
Deuteranopia (green-blind)
#7F7C73
Tritanopia (blue-blind)
#D53357
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c54276;
/* rgb */ color: rgb(197, 66, 118);
/* oklch */ color: oklch(57.7% 0.172 359.6);
Tailwind
colors: {
  custom: {
    50: '#db7f9d',
    500: '#c54276',
    950: '#000000',
  },
}
SCSS
$custom: #c54276;
$custom-light: #db7f9d;
$custom-dark: #000000;
JSON
{
  "hex": "#c54276",
  "rgb": {
    "r": 197,
    "g": 66,
    "b": 118
  },
  "hsl": {
    "h": 336.183,
    "s": 53.036,
    "l": 51.569
  },
  "oklch": {
    "l": 0.57729,
    "c": 0.17218,
    "h": 359.6
  },
  "luminance": 0.17075
}

Semantic roles & 50–950 ramp

primary
#C54276
secondary
#95CEB7
accent
#DCA34B
background
#FEF8F9
surface
#FCEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #C54276

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

Preview Lab → · Contrast checker → · Palette generator →

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