#C54178#C54178

#C54178 is a mid, vivid pink. Relative luminance 0.170; OKLCH L 57.7% C 0.174 H 358.5°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#C54178
RGBrgb(197, 65, 120)
HSLhsl(335, 53%, 51%)
HSVhsv(335, 67%, 77%)
CMYKcmyk(0%, 67%, 39.1%, 22.7%)
CIE-LABlab(48.27, 56.87, -2.03)
CIE-LCHlch(48.27, 56.91, 357.96°)
OKLaboklab(57.69% 0.1741 -0.0046)
OKLCHoklch(57.69% 0.174 358.5)
XYZxyz(28.3083, 17.0103, 19.5582)
Luminance0.1701 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54178 #41C58E
analogous
#C541BA #C54178 #C54C41
triadic
#C54178 #78C541 #4178C5
tetradic
#C54178 #BAC541 #41C58E #4C41C5
square
#C54178 #BAC541 #41C58E #4C41C5
split-complementary
#C54178 #41C54C #41BAC5
monochromatic
#6B2140 #9A2F5B #C54178 #D37099 #E29FBB

Accessibility & contrast

On white

4.77
#C54178 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#C54178 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C54178
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54178#FFFFFF#000000##FFFFFF
##C541781.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c54178;
/* rgb */ color: rgb(197, 65, 120);
/* oklch */ color: oklch(57.7% 0.174 358.5);
Tailwind
colors: {
  custom: {
    50: '#db7e9e',
    500: '#c54178',
    950: '#000000',
  },
}
SCSS
$custom: #c54178;
$custom-light: #db7e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#c54178",
  "rgb": {
    "r": 197,
    "g": 65,
    "b": 120
  },
  "hsl": {
    "h": 335,
    "s": 53.226,
    "l": 51.373
  },
  "oklch": {
    "l": 0.57686,
    "c": 0.17417,
    "h": 358.5
  },
  "luminance": 0.17007
}

Semantic roles & 50–950 ramp

primary
#C54178
secondary
#94CEB6
accent
#DDA04B
background
#FEF8F9
surface
#FCEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #C54178

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

Preview Lab → · Contrast checker → · Palette generator →

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