#C54197#C54197

#C54197 is a mid, vivid pink. Relative luminance 0.179; OKLCH L 58.8% C 0.189 H 344.5°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#C54197
RGBrgb(197, 65, 151)
HSLhsl(321, 53%, 51%)
HSVhsv(321, 67%, 77%)
CMYKcmyk(0%, 67%, 23.4%, 22.7%)
CIE-LABlab(49.36, 60.60, -19.05)
CIE-LCHlch(49.36, 63.52, 342.55°)
OKLaboklab(58.84% 0.1826 -0.0507)
OKLCHoklch(58.84% 0.189 344.5)
XYZxyz(30.5033, 17.8883, 31.1185)
Luminance0.1789 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C54197 #41C56F
analogous
#B141C5 #C54197 #C54155
triadic
#C54197 #97C541 #4197C5
tetradic
#C54197 #C5B141 #41C56F #4155C5
square
#C54197 #C5B141 #41C56F #4155C5
split-complementary
#C54197 #55C541 #41C5B1
monochromatic
#6B2151 #9A2F75 #C54197 #D370B1 #E29FCA

Accessibility & contrast

On white

4.59
#C54197 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#C54197 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C54197
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C54197#FFFFFF#000000##FFFFFF
##C541971.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F679A
Deuteranopia (green-blind)
#767D94
Tritanopia (blue-blind)
#D24066
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c54197;
/* rgb */ color: rgb(197, 65, 151);
/* oklch */ color: oklch(58.8% 0.189 344.5);
Tailwind
colors: {
  custom: {
    50: '#da7fb5',
    500: '#c54197',
    950: '#000000',
  },
}
SCSS
$custom: #c54197;
$custom-light: #da7fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#c54197",
  "rgb": {
    "r": 197,
    "g": 65,
    "b": 151
  },
  "hsl": {
    "h": 320.909,
    "s": 53.226,
    "l": 51.373
  },
  "oklch": {
    "l": 0.58843,
    "c": 0.18948,
    "h": 344.5
  },
  "luminance": 0.17885
}

Semantic roles & 50–950 ramp

primary
#C54197
secondary
#94CEA8
accent
#DD7E4B
background
#FDF8FB
surface
#FBEFF6
border
#D4CAD0
text
#150B11
muted
#837C80

Preview Lab

Preview with #C54197

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

Preview Lab → · Contrast checker → · Palette generator →

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