#C54186#C54186

#C54186 is a mid, vivid pink. Relative luminance 0.174; OKLCH L 58.2% C 0.180 H 351.9°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#C54186
RGBrgb(197, 65, 134)
HSLhsl(329, 53%, 51%)
HSVhsv(329, 67%, 77%)
CMYKcmyk(0%, 67%, 32%, 22.7%)
CIE-LABlab(48.73, 58.45, -9.82)
CIE-LCHlch(48.73, 59.27, 350.46°)
OKLaboklab(58.17% 0.1784 -0.0253)
OKLCHoklch(58.17% 0.18 351.9)
XYZxyz(29.2209, 17.3754, 24.3646)
Luminance0.1737 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54186 #41C580
analogous
#C241C5 #C54186 #C54144
triadic
#C54186 #86C541 #4186C5
tetradic
#C54186 #C5C241 #41C580 #4144C5
square
#C54186 #C5C241 #41C580 #4144C5
split-complementary
#C54186 #44C541 #41C5C2
monochromatic
#6B2147 #9A2F67 #C54186 #D370A4 #E29FC2

Accessibility & contrast

On white

4.69
#C54186 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#C54186 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C54186
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54186#FFFFFF#000000##FFFFFF
##C541861.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#556588
Deuteranopia (green-blind)
#7A7C83
Tritanopia (blue-blind)
#D3395E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c54186;
/* rgb */ color: rgb(197, 65, 134);
/* oklch */ color: oklch(58.2% 0.180 351.9);
Tailwind
colors: {
  custom: {
    50: '#db7fa9',
    500: '#c54186',
    950: '#000000',
  },
}
SCSS
$custom: #c54186;
$custom-light: #db7fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#c54186",
  "rgb": {
    "r": 197,
    "g": 65,
    "b": 134
  },
  "hsl": {
    "h": 328.636,
    "s": 53.226,
    "l": 51.373
  },
  "oklch": {
    "l": 0.58173,
    "c": 0.18015,
    "h": 351.9
  },
  "luminance": 0.17372
}

Semantic roles & 50–950 ramp

primary
#C54186
secondary
#94CEB0
accent
#DD914B
background
#FEF8FA
surface
#FCEFF4
border
#D5CACE
text
#150B0F
muted
#847C7F

Preview Lab

Preview with #C54186

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

Preview Lab → · Contrast checker → · Palette generator →

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