#C54168#C54168

#C54168 is a mid, vivid pink. Relative luminance 0.167; OKLCH L 57.2% C 0.170 H 6.3°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#C54168
RGBrgb(197, 65, 104)
HSLhsl(342, 53%, 51%)
HSVhsv(342, 67%, 77%)
CMYKcmyk(0%, 67%, 47.2%, 22.7%)
CIE-LABlab(47.82, 55.28, 7.05)
CIE-LCHlch(47.82, 55.73, 7.27°)
OKLaboklab(57.2% 0.1685 0.0186)
OKLCHoklch(57.2% 0.17 6.3)
XYZxyz(27.4171, 16.6539, 14.8648)
Luminance0.1665 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54168 #41C59E
analogous
#C541AA #C54168 #C55C41
triadic
#C54168 #68C541 #4168C5
tetradic
#C54168 #AAC541 #41C59E #5C41C5
square
#C54168 #AAC541 #41C59E #5C41C5
split-complementary
#C54168 #41C55C #41AAC5
monochromatic
#6B2137 #9A2F4F #C54168 #D3708D #E29FB3

Accessibility & contrast

On white

4.85
#C54168 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#C54168 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C54168
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54168#FFFFFF#000000##FFFFFF
##C541681.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E6169
Deuteranopia (green-blind)
#817B65
Tritanopia (blue-blind)
#D62D51
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c54168;
/* rgb */ color: rgb(197, 65, 104);
/* oklch */ color: oklch(57.2% 0.170 6.3);
Tailwind
colors: {
  custom: {
    50: '#dc7e92',
    500: '#c54168',
    950: '#000000',
  },
}
SCSS
$custom: #c54168;
$custom-light: #dc7e92;
$custom-dark: #000000;
JSON
{
  "hex": "#c54168",
  "rgb": {
    "r": 197,
    "g": 65,
    "b": 104
  },
  "hsl": {
    "h": 342.273,
    "s": 53.226,
    "l": 51.373
  },
  "oklch": {
    "l": 0.57203,
    "c": 0.16954,
    "h": 6.3
  },
  "luminance": 0.1665
}

Semantic roles & 50–950 ramp

primary
#C54168
secondary
#94CEBD
accent
#DDB24B
background
#FEF8F8
surface
#FCEFF0
border
#D5CACB
text
#160A0D
muted
#847C7D

Preview Lab

Preview with #C54168

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

Preview Lab → · Contrast checker → · Palette generator →

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