#C45D8A#C45D8A

#C45D8A is a mid, vivid pink. Relative luminance 0.214; OKLCH L 61.6% C 0.140 H 354.5°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#C45D8A
RGBrgb(196, 93, 138)
HSLhsl(334, 47%, 57%)
HSVhsv(334, 53%, 77%)
CMYKcmyk(0%, 52.6%, 29.6%, 23.1%)
CIE-LABlab(53.39, 46.08, -5.28)
CIE-LCHlch(53.39, 46.38, 353.47°)
OKLaboklab(61.65% 0.1397 -0.0133)
OKLCHoklch(61.65% 0.14 354.5)
XYZxyz(31.2680, 21.4023, 26.5241)
Luminance0.2140 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C45D8A #5DC497
analogous
#C45DBE #C45D8A #C4645D
triadic
#C45D8A #8AC45D #5D8AC4
tetradic
#C45D8A #BEC45D #5DC497 #645DC4
square
#C45D8A #BEC45D #5DC497 #645DC4
split-complementary
#C45D8A #5DC464 #5DBEC4
monochromatic
#7A2C4E #A73D6B #C45D8A #D48AAA #E5B7CB

Accessibility & contrast

On white

3.98
#C45D8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#C45D8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C45D8A
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C45D8A#FFFFFF#000000##000000
##C45D8A1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B748B
Deuteranopia (green-blind)
#868688
Tritanopia (blue-blind)
#D1576E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #c45d8a;
/* rgb */ color: rgb(196, 93, 138);
/* oklch */ color: oklch(61.6% 0.140 354.5);
Tailwind
colors: {
  custom: {
    50: '#d98eac',
    500: '#c45d8a',
    950: '#000000',
  },
}
SCSS
$custom: #c45d8a;
$custom-light: #d98eac;
$custom-dark: #000000;
JSON
{
  "hex": "#c45d8a",
  "rgb": {
    "r": 196,
    "g": 93,
    "b": 138
  },
  "hsl": {
    "h": 333.786,
    "s": 46.606,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61646,
    "c": 0.14032,
    "h": 354.5
  },
  "luminance": 0.21399
}

Semantic roles & 50–950 ramp

primary
#C45D8A
secondary
#A9D3C1
accent
#D69C52
background
#FDF8FA
surface
#FBF0F4
border
#D4CBCE
text
#150D10
muted
#837D7F

Preview Lab

Preview with #C45D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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