#C54188#C54188

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

Color values

HEX#C54188
RGBrgb(197, 65, 136)
HSLhsl(328, 53%, 51%)
HSVhsv(328, 67%, 77%)
CMYKcmyk(0%, 67%, 31%, 22.7%)
CIE-LABlab(48.80, 58.69, -10.92)
CIE-LCHlch(48.80, 59.70, 349.46°)
OKLaboklab(58.25% 0.1789 -0.0283)
OKLCHoklch(58.25% 0.181 351)
XYZxyz(29.3617, 17.4317, 25.1062)
Luminance0.1743 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54188 #41C57E
analogous
#C041C5 #C54188 #C54146
triadic
#C54188 #88C541 #4188C5
tetradic
#C54188 #C5C041 #41C57E #4146C5
square
#C54188 #C5C041 #41C57E #4146C5
split-complementary
#C54188 #46C541 #41C5C0
monochromatic
#6B2149 #9A2F68 #C54188 #D370A5 #E29FC3

Accessibility & contrast

On white

4.68
#C54188 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#C54188 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C54188
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54188#FFFFFF#000000##FFFFFF
##C541881.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55658A
Deuteranopia (green-blind)
#7A7D85
Tritanopia (blue-blind)
#D33A5F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c54188;
/* rgb */ color: rgb(197, 65, 136);
/* oklch */ color: oklch(58.2% 0.181 351.0);
Tailwind
colors: {
  custom: {
    50: '#db7faa',
    500: '#c54188',
    950: '#000000',
  },
}
SCSS
$custom: #c54188;
$custom-light: #db7faa;
$custom-dark: #000000;
JSON
{
  "hex": "#c54188",
  "rgb": {
    "r": 197,
    "g": 65,
    "b": 136
  },
  "hsl": {
    "h": 327.727,
    "s": 53.226,
    "l": 51.373
  },
  "oklch": {
    "l": 0.58247,
    "c": 0.18114,
    "h": 351
  },
  "luminance": 0.17428
}

Semantic roles & 50–950 ramp

primary
#C54188
secondary
#94CEAF
accent
#DD8E4B
background
#FDF8FA
surface
#FBEFF4
border
#D4CACE
text
#150B10
muted
#837C7F

Preview Lab

Preview with #C54188

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

Preview Lab → · Contrast checker → · Palette generator →

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