#C54182#C54182

#C54182 is a mid, vivid pink. Relative luminance 0.173; OKLCH L 58.0% C 0.178 H 353.8°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#C54182
RGBrgb(197, 65, 130)
HSLhsl(330, 53%, 51%)
HSVhsv(330, 67%, 77%)
CMYKcmyk(0%, 67%, 34%, 22.7%)
CIE-LABlab(48.59, 57.98, -7.61)
CIE-LCHlch(48.59, 58.48, 352.52°)
OKLaboklab(58.03% 0.1772 -0.0194)
OKLCHoklch(58.03% 0.178 353.8)
XYZxyz(28.9471, 17.2659, 22.9230)
Luminance0.1726 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54182 #41C584
analogous
#C541C4 #C54182 #C54241
triadic
#C54182 #82C541 #4182C5
tetradic
#C54182 #C4C541 #41C584 #4241C5
square
#C54182 #C4C541 #41C584 #4241C5
split-complementary
#C54182 #41C542 #41C4C5
monochromatic
#6B2145 #9A2F64 #C54182 #D370A1 #E29FC0

Accessibility & contrast

On white

4.72
#C54182 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#C54182 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C54182
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54182#FFFFFF#000000##FFFFFF
##C541821.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#576484
Deuteranopia (green-blind)
#7B7C7F
Tritanopia (blue-blind)
#D4375C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c54182;
/* rgb */ color: rgb(197, 65, 130);
/* oklch */ color: oklch(58.0% 0.178 353.8);
Tailwind
colors: {
  custom: {
    50: '#db7ea6',
    500: '#c54182',
    950: '#000000',
  },
}
SCSS
$custom: #c54182;
$custom-light: #db7ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#c54182",
  "rgb": {
    "r": 197,
    "g": 65,
    "b": 130
  },
  "hsl": {
    "h": 330.455,
    "s": 53.226,
    "l": 51.373
  },
  "oklch": {
    "l": 0.58028,
    "c": 0.17827,
    "h": 353.8
  },
  "luminance": 0.17263
}

Semantic roles & 50–950 ramp

primary
#C54182
secondary
#94CEB1
accent
#DD954B
background
#FEF8FA
surface
#FCEFF4
border
#D5CACE
text
#160B0F
muted
#847C7F

Preview Lab

Preview with #C54182

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

Preview Lab → · Contrast checker → · Palette generator →

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