#D340A1#D340A1

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

Color values

HEX#D340A1
RGBrgb(211, 64, 161)
HSLhsl(320, 63%, 54%)
HSVhsv(320, 70%, 83%)
CMYKcmyk(0%, 69.7%, 23.7%, 17.3%)
CIE-LABlab(51.94, 65.98, -20.82)
CIE-LCHlch(51.94, 69.19, 342.49°)
OKLaboklab(61.3% 0.1991 -0.0554)
OKLCHoklch(61.3% 0.207 344.4)
XYZxyz(35.1317, 20.0925, 35.7394)
Luminance0.2009 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D340A1 #40D372
analogous
#BC40D3 #D340A1 #D34058
triadic
#D340A1 #A1D340 #40A1D3
tetradic
#D340A1 #D3BC40 #40D372 #4058D3
square
#D340A1 #D3BC40 #40D372 #4058D3
split-complementary
#D340A1 #58D340 #40D3BC
monochromatic
#7C1D5C #AE2880 #D340A1 #DE72B9 #EAA3D2

Accessibility & contrast

On white

4.19
#D340A1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#D340A1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D340A1
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D340A1#FFFFFF#000000##000000
##D340A11.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#506CA4
Deuteranopia (green-blind)
#7C859E
Tritanopia (blue-blind)
#E13F6B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d340a1;
/* rgb */ color: rgb(211, 64, 161);
/* oklch */ color: oklch(61.3% 0.207 344.4);
Tailwind
colors: {
  custom: {
    50: '#e580bd',
    500: '#d340a1',
    950: '#000000',
  },
}
SCSS
$custom: #d340a1;
$custom-light: #e580bd;
$custom-dark: #000000;
JSON
{
  "hex": "#d340a1",
  "rgb": {
    "r": 211,
    "g": 64,
    "b": 161
  },
  "hsl": {
    "h": 320.408,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61301,
    "c": 0.20667,
    "h": 344.4
  },
  "luminance": 0.20089
}

Semantic roles & 50–950 ramp

primary
#D340A1
secondary
#98D7AD
accent
#E67A42
background
#FEF8FB
surface
#FDEFF6
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #D340A1

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

Preview Lab → · Contrast checker → · Palette generator →

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