#D340A9#D340A9

#D340A9 is a mid, highly saturated pink. Relative luminance 0.204; OKLCH L 61.6% C 0.212 H 341.5°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#D340A9
RGBrgb(211, 64, 169)
HSLhsl(317, 63%, 54%)
HSVhsv(317, 70%, 83%)
CMYKcmyk(0%, 69.7%, 19.9%, 17.3%)
CIE-LABlab(52.27, 67.03, -25.03)
CIE-LCHlch(52.27, 71.55, 339.53°)
OKLaboklab(61.65% 0.2006 -0.0672)
OKLCHoklch(61.65% 0.212 341.5)
XYZxyz(35.8599, 20.3838, 39.5743)
Luminance0.2038 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D340A9 #40D36A
analogous
#B440D3 #D340A9 #D34060
triadic
#D340A9 #A9D340 #40A9D3
tetradic
#D340A9 #D3B440 #40D36A #4060D3
square
#D340A9 #D3B440 #40D36A #4060D3
split-complementary
#D340A9 #60D340 #40D3B4
monochromatic
#7C1D61 #AE2888 #D340A9 #DE72BF #EAA3D6

Accessibility & contrast

On white

4.14
#D340A9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#D340A9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D340A9
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D340A9#FFFFFF#000000##000000
##D340A91.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C6DAC
Deuteranopia (green-blind)
#7A85A6
Tritanopia (blue-blind)
#E0426F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d340a9;
/* rgb */ color: rgb(211, 64, 169);
/* oklch */ color: oklch(61.6% 0.212 341.5);
Tailwind
colors: {
  custom: {
    50: '#e481c2',
    500: '#d340a9',
    950: '#000000',
  },
}
SCSS
$custom: #d340a9;
$custom-light: #e481c2;
$custom-dark: #000000;
JSON
{
  "hex": "#d340a9",
  "rgb": {
    "r": 211,
    "g": 64,
    "b": 169
  },
  "hsl": {
    "h": 317.143,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61646,
    "c": 0.21154,
    "h": 341.5
  },
  "luminance": 0.2038
}

Semantic roles & 50–950 ramp

primary
#D340A9
secondary
#98D7AA
accent
#E67142
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B12
muted
#847C81

Preview Lab

Preview with #D340A9

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

Preview Lab → · Contrast checker → · Palette generator →

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