#D340AE#D340AE

#D340AE is a mid, highly saturated pink. Relative luminance 0.206; OKLCH L 61.9% C 0.215 H 339.7°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#D340AE
RGBrgb(211, 64, 174)
HSLhsl(315, 63%, 54%)
HSVhsv(315, 70%, 83%)
CMYKcmyk(0%, 69.7%, 17.5%, 17.3%)
CIE-LABlab(52.48, 67.72, -27.63)
CIE-LCHlch(52.48, 73.13, 337.81°)
OKLaboklab(61.87% 0.2014 -0.0746)
OKLCHoklch(61.87% 0.215 339.7)
XYZxyz(36.3383, 20.5751, 42.0938)
Luminance0.2057 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D340AE #40D365
analogous
#AF40D3 #D340AE #D34065
triadic
#D340AE #AED340 #40AED3
tetradic
#D340AE #D3AF40 #40D365 #4065D3
square
#D340AE #D3AF40 #40D365 #4065D3
split-complementary
#D340AE #65D340 #40D3AF
monochromatic
#7C1D64 #AE288C #D340AE #DE72C3 #EAA3D8

Accessibility & contrast

On white

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

On black

5.11
#D340AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D340AE
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D340AE#FFFFFF#000000##000000
##D340AE1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#496EB1
Deuteranopia (green-blind)
#7886AA
Tritanopia (blue-blind)
#DF4572
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d340ae;
/* rgb */ color: rgb(211, 64, 174);
/* oklch */ color: oklch(61.9% 0.215 339.7);
Tailwind
colors: {
  custom: {
    50: '#e481c6',
    500: '#d340ae',
    950: '#000000',
  },
}
SCSS
$custom: #d340ae;
$custom-light: #e481c6;
$custom-dark: #000000;
JSON
{
  "hex": "#d340ae",
  "rgb": {
    "r": 211,
    "g": 64,
    "b": 174
  },
  "hsl": {
    "h": 315.102,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.6187,
    "c": 0.21474,
    "h": 339.7
  },
  "luminance": 0.20572
}

Semantic roles & 50–950 ramp

primary
#D340AE
secondary
#98D7A8
accent
#E66B42
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #D340AE

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

Preview Lab → · Contrast checker → · Palette generator →

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