#C54277#C54277

#C54277 is a mid, vivid pink. Relative luminance 0.171; OKLCH L 57.8% C 0.173 H 359.1°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#C54277
RGBrgb(197, 66, 119)
HSLhsl(336, 53%, 52%)
HSVhsv(336, 66%, 77%)
CMYKcmyk(0%, 66.5%, 39.6%, 22.7%)
CIE-LABlab(48.39, 56.36, -1.25)
CIE-LCHlch(48.39, 56.38, 358.73°)
OKLaboklab(57.76% 0.1725 -0.0026)
OKLCHoklch(57.76% 0.173 359.1)
XYZxyz(28.3058, 17.1020, 19.2596)
Luminance0.1710 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54277 #42C590
analogous
#C542B9 #C54277 #C54F42
triadic
#C54277 #77C542 #4277C5
tetradic
#C54277 #B9C542 #42C590 #4F42C5
square
#C54277 #B9C542 #42C590 #4F42C5
split-complementary
#C54277 #42C54F #42B9C5
monochromatic
#6C213F #9A2F5B #C54277 #D37199 #E2A0BA

Accessibility & contrast

On white

4.75
#C54277 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C54277
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54277#FFFFFF#000000##FFFFFF
##C542771.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B6378
Deuteranopia (green-blind)
#7E7C74
Tritanopia (blue-blind)
#D53457
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c54277;
/* rgb */ color: rgb(197, 66, 119);
/* oklch */ color: oklch(57.8% 0.173 359.1);
Tailwind
colors: {
  custom: {
    50: '#db7f9e',
    500: '#c54277',
    950: '#000000',
  },
}
SCSS
$custom: #c54277;
$custom-light: #db7f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#c54277",
  "rgb": {
    "r": 197,
    "g": 66,
    "b": 119
  },
  "hsl": {
    "h": 335.725,
    "s": 53.036,
    "l": 51.569
  },
  "oklch": {
    "l": 0.57761,
    "c": 0.17253,
    "h": 359.1
  },
  "luminance": 0.17099
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C54277

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

Preview Lab → · Contrast checker → · Palette generator →

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