#D45198#D45198

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

Color values

HEX#D45198
RGBrgb(212, 81, 152)
HSLhsl(327, 60%, 57%)
HSVhsv(327, 62%, 83%)
CMYKcmyk(0%, 61.8%, 28.3%, 16.9%)
CIE-LABlab(54.19, 58.43, -12.08)
CIE-LCHlch(54.19, 59.67, 348.31°)
OKLaboklab(62.87% 0.1773 -0.0315)
OKLCHoklch(62.87% 0.18 349.9)
XYZxyz(35.7629, 22.1525, 32.0921)
Luminance0.2215 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45198 #51D48D
analogous
#CF51D4 #D45198 #D45156
triadic
#D45198 #98D451 #5198D4
tetradic
#D45198 #D4CF51 #51D48D #5156D4
square
#D45198 #D4CF51 #51D48D #5156D4
split-complementary
#D45198 #56D451 #51D4CF
monochromatic
#89225A #BA2E7A #D45198 #E082B5 #ECB3D2

Accessibility & contrast

On white

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

On black

5.43
#D45198 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45198
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45198#FFFFFF#000000##000000
##D451981.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#62739A
Deuteranopia (green-blind)
#878A95
Tritanopia (blue-blind)
#E24B6E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d45198;
/* rgb */ color: rgb(212, 81, 152);
/* oklch */ color: oklch(62.9% 0.180 349.9);
Tailwind
colors: {
  custom: {
    50: '#e589b6',
    500: '#d45198',
    950: '#000000',
  },
}
SCSS
$custom: #d45198;
$custom-light: #e589b6;
$custom-dark: #000000;
JSON
{
  "hex": "#d45198",
  "rgb": {
    "r": 212,
    "g": 81,
    "b": 152
  },
  "hsl": {
    "h": 327.481,
    "s": 60.369,
    "l": 57.451
  },
  "oklch": {
    "l": 0.62873,
    "c": 0.1801,
    "h": 349.9
  },
  "luminance": 0.22149
}

Semantic roles & 50–950 ramp

primary
#D45198
secondary
#A6DBBE
accent
#E48D44
background
#FEF8FB
surface
#FDF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #D45198

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

Preview Lab → · Contrast checker → · Palette generator →

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