#D54198#D54198

#D54198 is a mid, highly saturated pink. Relative luminance 0.202; OKLCH L 61.3% C 0.202 H 348.5°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#D54198
RGBrgb(213, 65, 152)
HSLhsl(325, 64%, 55%)
HSVhsv(325, 69%, 84%)
CMYKcmyk(0%, 69.5%, 28.6%, 16.5%)
CIE-LABlab(52.06, 65.02, -15.29)
CIE-LCHlch(52.06, 66.79, 346.77°)
OKLaboklab(61.34% 0.1978 -0.0401)
OKLCHoklch(61.34% 0.202 348.5)
XYZxyz(35.0000, 20.1975, 31.7550)
Luminance0.2019 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54198 #41D57E
analogous
#C841D5 #D54198 #D5414E
triadic
#D54198 #98D541 #4198D5
tetradic
#D54198 #D5C841 #41D57E #414ED5
square
#D54198 #D5C841 #41D57E #414ED5
split-complementary
#D54198 #4ED541 #41D5C8
monochromatic
#7F1C57 #B22779 #D54198 #E073B3 #EBA5CE

Accessibility & contrast

On white

4.17
#D54198 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#D54198 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54198
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54198#FFFFFF#000000##000000
##D541981.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#566C9A
Deuteranopia (green-blind)
#818695
Tritanopia (blue-blind)
#E43B67
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d54198;
/* rgb */ color: rgb(213, 65, 152);
/* oklch */ color: oklch(61.3% 0.202 348.5);
Tailwind
colors: {
  custom: {
    50: '#e681b6',
    500: '#d54198',
    950: '#000000',
  },
}
SCSS
$custom: #d54198;
$custom-light: #e681b6;
$custom-dark: #000000;
JSON
{
  "hex": "#d54198",
  "rgb": {
    "r": 213,
    "g": 65,
    "b": 152
  },
  "hsl": {
    "h": 324.73,
    "s": 63.793,
    "l": 54.51
  },
  "oklch": {
    "l": 0.61338,
    "c": 0.20187,
    "h": 348.5
  },
  "luminance": 0.20194
}

Semantic roles & 50–950 ramp

primary
#D54198
secondary
#9AD8B3
accent
#E78541
background
#FEF8FB
surface
#FDEFF6
border
#D5CAD0
text
#170B11
muted
#857C80

Preview Lab

Preview with #D54198

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

Preview Lab → · Contrast checker → · Palette generator →

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