#D45197#D45197

#D45197 is a light, vivid pink. Relative luminance 0.221; OKLCH L 62.8% C 0.180 H 350.4°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#D45197
RGBrgb(212, 81, 151)
HSLhsl(328, 60%, 57%)
HSVhsv(328, 62%, 83%)
CMYKcmyk(0%, 61.8%, 28.8%, 16.9%)
CIE-LABlab(54.15, 58.30, -11.55)
CIE-LCHlch(54.15, 59.44, 348.80°)
OKLaboklab(62.84% 0.1771 -0.03)
OKLCHoklch(62.84% 0.18 350.4)
XYZxyz(35.6813, 22.1199, 31.6626)
Luminance0.2212 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45197 #51D48E
analogous
#D051D4 #D45197 #D45155
triadic
#D45197 #97D451 #5197D4
tetradic
#D45197 #D4D051 #51D48E #5155D4
square
#D45197 #D4D051 #51D48E #5155D4
split-complementary
#D45197 #55D451 #51D4D0
monochromatic
#892259 #BA2E79 #D45197 #E082B4 #ECB3D2

Accessibility & contrast

On white

3.87
#D45197 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#D45197 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45197
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45197#FFFFFF#000000##000000
##D451971.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#637399
Deuteranopia (green-blind)
#878A94
Tritanopia (blue-blind)
#E34B6D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #d45197;
/* rgb */ color: rgb(212, 81, 151);
/* oklch */ color: oklch(62.8% 0.180 350.4);
Tailwind
colors: {
  custom: {
    50: '#e589b5',
    500: '#d45197',
    950: '#000000',
  },
}
SCSS
$custom: #d45197;
$custom-light: #e589b5;
$custom-dark: #000000;
JSON
{
  "hex": "#d45197",
  "rgb": {
    "r": 212,
    "g": 81,
    "b": 151
  },
  "hsl": {
    "h": 327.939,
    "s": 60.369,
    "l": 57.451
  },
  "oklch": {
    "l": 0.62836,
    "c": 0.17958,
    "h": 350.4
  },
  "luminance": 0.22116
}

Semantic roles & 50–950 ramp

primary
#D45197
secondary
#A6DBBF
accent
#E48E44
background
#FEF8FB
surface
#FDF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #D45197

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

Preview Lab → · Contrast checker → · Palette generator →

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