#C5417A#C5417A

#C5417A is a mid, vivid pink. Relative luminance 0.171; OKLCH L 57.8% C 0.175 H 357.5°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#C5417A
RGBrgb(197, 65, 122)
HSLhsl(334, 53%, 51%)
HSVhsv(334, 67%, 77%)
CMYKcmyk(0%, 67%, 38.1%, 22.7%)
CIE-LABlab(48.33, 57.09, -3.15)
CIE-LCHlch(48.33, 57.17, 356.84°)
OKLaboklab(57.75% 0.1748 -0.0076)
OKLCHoklch(57.75% 0.175 357.5)
XYZxyz(28.4309, 17.0594, 20.2042)
Luminance0.1706 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5417A #41C58C
analogous
#C541BC #C5417A #C54A41
triadic
#C5417A #7AC541 #417AC5
tetradic
#C5417A #BCC541 #41C58C #4A41C5
square
#C5417A #BCC541 #41C58C #4A41C5
split-complementary
#C5417A #41C54A #41BCC5
monochromatic
#6B2141 #9A2F5D #C5417A #D3709B #E29FBC

Accessibility & contrast

On white

4.76
#C5417A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#C5417A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C5417A
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5417A#FFFFFF#000000##FFFFFF
##C5417A1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59637C
Deuteranopia (green-blind)
#7D7C77
Tritanopia (blue-blind)
#D53458
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c5417a;
/* rgb */ color: rgb(197, 65, 122);
/* oklch */ color: oklch(57.8% 0.175 357.5);
Tailwind
colors: {
  custom: {
    50: '#db7ea0',
    500: '#c5417a',
    950: '#000000',
  },
}
SCSS
$custom: #c5417a;
$custom-light: #db7ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#c5417a",
  "rgb": {
    "r": 197,
    "g": 65,
    "b": 122
  },
  "hsl": {
    "h": 334.091,
    "s": 53.226,
    "l": 51.373
  },
  "oklch": {
    "l": 0.57752,
    "c": 0.17491,
    "h": 357.5
  },
  "luminance": 0.17056
}

Semantic roles & 50–950 ramp

primary
#C5417A
secondary
#94CEB5
accent
#DD9E4B
background
#FEF8F9
surface
#FCEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #C5417A

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

Preview Lab → · Contrast checker → · Palette generator →

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