#D54197#D54197

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

Color values

HEX#D54197
RGBrgb(213, 65, 151)
HSLhsl(325, 64%, 55%)
HSVhsv(325, 69%, 84%)
CMYKcmyk(0%, 69.5%, 29.1%, 16.5%)
CIE-LABlab(52.02, 64.90, -14.75)
CIE-LCHlch(52.02, 66.56, 347.20°)
OKLaboklab(61.3% 0.1976 -0.0386)
OKLCHoklch(61.3% 0.201 348.9)
XYZxyz(34.9185, 20.1649, 31.3255)
Luminance0.2016 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D54197 #41D57F
analogous
#C941D5 #D54197 #D5414D
triadic
#D54197 #97D541 #4197D5
tetradic
#D54197 #D5C941 #41D57F #414DD5
square
#D54197 #D5C941 #41D57F #414DD5
split-complementary
#D54197 #4DD541 #41D5C9
monochromatic
#7F1C56 #B22778 #D54197 #E073B2 #EBA5CE

Accessibility & contrast

On white

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

On black

5.03
#D54197 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D54197
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D54197#FFFFFF#000000##000000
##D541971.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#566B99
Deuteranopia (green-blind)
#818694
Tritanopia (blue-blind)
#E43A66
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d54197;
/* rgb */ color: rgb(213, 65, 151);
/* oklch */ color: oklch(61.3% 0.201 348.9);
Tailwind
colors: {
  custom: {
    50: '#e681b5',
    500: '#d54197',
    950: '#000000',
  },
}
SCSS
$custom: #d54197;
$custom-light: #e681b5;
$custom-dark: #000000;
JSON
{
  "hex": "#d54197",
  "rgb": {
    "r": 213,
    "g": 65,
    "b": 151
  },
  "hsl": {
    "h": 325.135,
    "s": 63.793,
    "l": 54.51
  },
  "oklch": {
    "l": 0.61299,
    "c": 0.20134,
    "h": 348.9
  },
  "luminance": 0.20161
}

Semantic roles & 50–950 ramp

primary
#D54197
secondary
#9AD8B4
accent
#E78641
background
#FEF8FB
surface
#FDEFF6
border
#D5CAD0
text
#170B11
muted
#857C80

Preview Lab

Preview with #D54197

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

Preview Lab → · Contrast checker → · Palette generator →

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