#D34C7E#D34C7E

#D34C7E is a mid, vivid pink. Relative luminance 0.205; OKLCH L 61.3% C 0.175 H 0.8°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#D34C7E
RGBrgb(211, 76, 126)
HSLhsl(338, 61%, 56%)
HSVhsv(338, 64%, 83%)
CMYKcmyk(0%, 64%, 40.3%, 17.3%)
CIE-LABlab(52.43, 57.24, 0.71)
CIE-LCHlch(52.43, 57.24, 0.72°)
OKLaboklab(61.27% 0.175 0.0025)
OKLCHoklch(61.27% 0.175 0.8)
XYZxyz(33.2165, 20.5280, 21.9477)
Luminance0.2052 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D34C7E #4CD3A1
analogous
#D34CC2 #D34C7E #D35E4C
triadic
#D34C7E #7ED34C #4C7ED3
tetradic
#D34C7E #C2D34C #4CD3A1 #5E4CD3
square
#D34C7E #C2D34C #4CD3A1 #5E4CD3
split-complementary
#D34C7E #4CD35E #4CC2D3
monochromatic
#842045 #B52D5F #D34C7E #DF7DA1 #EBAEC5

Accessibility & contrast

On white

4.11
#D34C7E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#D34C7E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D34C7E
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D34C7E#FFFFFF#000000##000000
##D34C7E1.004.115.105.10
#FFFFFF4.111.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#666D7F
Deuteranopia (green-blind)
#8A877B
Tritanopia (blue-blind)
#E43D60
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d34c7e;
/* rgb */ color: rgb(211, 76, 126);
/* oklch */ color: oklch(61.3% 0.175 0.8);
Tailwind
colors: {
  custom: {
    50: '#e586a3',
    500: '#d34c7e',
    950: '#000000',
  },
}
SCSS
$custom: #d34c7e;
$custom-light: #e586a3;
$custom-dark: #000000;
JSON
{
  "hex": "#d34c7e",
  "rgb": {
    "r": 211,
    "g": 76,
    "b": 126
  },
  "hsl": {
    "h": 337.778,
    "s": 60.538,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61268,
    "c": 0.17499,
    "h": 0.8
  },
  "luminance": 0.20524
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D34C7E

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

Preview Lab → · Contrast checker → · Palette generator →

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