#C45F87#C45F87

#C45F87 is a mid, vivid pink. Relative luminance 0.217; OKLCH L 61.8% C 0.136 H 356.8°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#C45F87
RGBrgb(196, 95, 135)
HSLhsl(336, 46%, 57%)
HSVhsv(336, 52%, 77%)
CMYKcmyk(0%, 51.5%, 31.1%, 23.1%)
CIE-LABlab(53.68, 44.69, -3.07)
CIE-LCHlch(53.68, 44.80, 356.07°)
OKLaboklab(61.83% 0.1356 -0.0075)
OKLCHoklch(61.83% 0.136 356.8)
XYZxyz(31.2317, 21.6723, 25.4553)
Luminance0.2167 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C45F87 #5FC49C
analogous
#C45FB9 #C45F87 #C46A5F
triadic
#C45F87 #87C45F #5F87C4
tetradic
#C45F87 #B9C45F #5FC49C #6A5FC4
square
#C45F87 #B9C45F #5FC49C #6A5FC4
split-complementary
#C45F87 #5FC46A #5FB9C4
monochromatic
#7B2D4C #A83E68 #C45F87 #D48CA9 #E5B8CA

Accessibility & contrast

On white

3.94
#C45F87 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#C45F87 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C45F87
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C45F87#FFFFFF#000000##000000
##C45F871.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E7588
Deuteranopia (green-blind)
#888785
Tritanopia (blue-blind)
#D1596E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #c45f87;
/* rgb */ color: rgb(196, 95, 135);
/* oklch */ color: oklch(61.8% 0.136 356.8);
Tailwind
colors: {
  custom: {
    50: '#d990a9',
    500: '#c45f87',
    950: '#000000',
  },
}
SCSS
$custom: #c45f87;
$custom-light: #d990a9;
$custom-dark: #000000;
JSON
{
  "hex": "#c45f87",
  "rgb": {
    "r": 196,
    "g": 95,
    "b": 135
  },
  "hsl": {
    "h": 336.238,
    "s": 46.119,
    "l": 57.059
  },
  "oklch": {
    "l": 0.61833,
    "c": 0.13584,
    "h": 356.8
  },
  "luminance": 0.21669
}

Semantic roles & 50–950 ramp

primary
#C45F87
secondary
#ABD4C4
accent
#D6A252
background
#FDF9FA
surface
#FBF1F4
border
#D4CBCE
text
#150D10
muted
#837E7F

Preview Lab

Preview with #C45F87

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

Preview Lab → · Contrast checker → · Palette generator →

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