#C54C8F#C54C8F

#C54C8F is a mid, vivid pink. Relative luminance 0.190; OKLCH L 59.7% C 0.170 H 349.1°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#C54C8F
RGBrgb(197, 76, 143)
HSLhsl(327, 51%, 54%)
HSVhsv(327, 61%, 77%)
CMYKcmyk(0%, 61.4%, 27.4%, 22.7%)
CIE-LABlab(50.72, 55.00, -12.22)
CIE-LCHlch(50.72, 56.34, 347.47°)
OKLaboklab(59.74% 0.1667 -0.0319)
OKLCHoklch(59.74% 0.17 349.1)
XYZxyz(30.5696, 19.0254, 28.0436)
Luminance0.1902 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54C8F #4CC582
analogous
#BE4CC5 #C54C8F #C54C52
triadic
#C54C8F #8FC54C #4C8FC5
tetradic
#C54C8F #C5BE4C #4CC582 #4C52C5
square
#C54C8F #C5BE4C #4CC582 #4C52C5
split-complementary
#C54C8F #52C54C #4CC5BE
monochromatic
#72254F #A03470 #C54C8F #D47AAC #E3A8C9

Accessibility & contrast

On white

4.37
#C54C8F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#C54C8F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C54C8F
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54C8F#FFFFFF#000000##000000
##C54C8F1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B6B91
Deuteranopia (green-blind)
#7D818C
Tritanopia (blue-blind)
#D24867
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #c54c8f;
/* rgb */ color: rgb(197, 76, 143);
/* oklch */ color: oklch(59.7% 0.170 349.1);
Tailwind
colors: {
  custom: {
    50: '#da85af',
    500: '#c54c8f',
    950: '#000000',
  },
}
SCSS
$custom: #c54c8f;
$custom-light: #da85af;
$custom-dark: #000000;
JSON
{
  "hex": "#c54c8f",
  "rgb": {
    "r": 197,
    "g": 76,
    "b": 143
  },
  "hsl": {
    "h": 326.777,
    "s": 51.055,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59743,
    "c": 0.16969,
    "h": 349.1
  },
  "luminance": 0.19022
}

Semantic roles & 50–950 ramp

primary
#C54C8F
secondary
#9CD0B4
accent
#DB8C4D
background
#FDF8FA
surface
#FBF0F4
border
#D4CBCE
text
#150B10
muted
#837C7F

Preview Lab

Preview with #C54C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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