#D34D7F#D34D7F

#D34D7F is a mid, vivid pink. Relative luminance 0.207; OKLCH L 61.4% C 0.174 H 0.6°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#D34D7F
RGBrgb(211, 77, 127)
HSLhsl(338, 60%, 56%)
HSVhsv(338, 64%, 83%)
CMYKcmyk(0%, 63.5%, 39.8%, 17.3%)
CIE-LABlab(52.61, 56.92, 0.38)
CIE-LCHlch(52.61, 56.92, 0.39°)
OKLaboklab(61.41% 0.174 0.0017)
OKLCHoklch(61.41% 0.174 0.6)
XYZxyz(33.3508, 20.6928, 22.3124)
Luminance0.2069 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D34D7F #4DD3A1
analogous
#D34DC2 #D34D7F #D35E4D
triadic
#D34D7F #7FD34D #4D7FD3
tetradic
#D34D7F #C2D34D #4DD3A1 #5E4DD3
square
#D34D7F #C2D34D #4DD3A1 #5E4DD3
split-complementary
#D34D7F #4DD35E #4DC2D3
monochromatic
#852146 #B62D60 #D34D7F #DF7EA2 #EBAFC6

Accessibility & contrast

On white

4.09
#D34D7F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#D34D7F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D34D7F
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D34D7F#FFFFFF#000000##000000
##D34D7F1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#666D80
Deuteranopia (green-blind)
#8A877C
Tritanopia (blue-blind)
#E43F61
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d34d7f;
/* rgb */ color: rgb(211, 77, 127);
/* oklch */ color: oklch(61.4% 0.174 0.6);
Tailwind
colors: {
  custom: {
    50: '#e586a4',
    500: '#d34d7f',
    950: '#000000',
  },
}
SCSS
$custom: #d34d7f;
$custom-light: #e586a4;
$custom-dark: #000000;
JSON
{
  "hex": "#d34d7f",
  "rgb": {
    "r": 211,
    "g": 77,
    "b": 127
  },
  "hsl": {
    "h": 337.612,
    "s": 60.36,
    "l": 56.471
  },
  "oklch": {
    "l": 0.61413,
    "c": 0.174,
    "h": 0.6
  },
  "luminance": 0.20689
}

Semantic roles & 50–950 ramp

primary
#D34D7F
secondary
#A2D9C5
accent
#E4A844
background
#FEF8FA
surface
#FDF0F3
border
#D5CBCD
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #D34D7F

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

Preview Lab → · Contrast checker → · Palette generator →

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