#D340A0#D340A0

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

Color values

HEX#D340A0
RGBrgb(211, 64, 160)
HSLhsl(321, 63%, 54%)
HSVhsv(321, 70%, 83%)
CMYKcmyk(0%, 69.7%, 24.2%, 17.3%)
CIE-LABlab(51.90, 65.85, -20.29)
CIE-LCHlch(51.90, 68.91, 342.87°)
OKLaboklab(61.26% 0.1989 -0.054)
OKLCHoklch(61.26% 0.206 344.8)
XYZxyz(35.0439, 20.0574, 35.2768)
Luminance0.2005 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D340A0 #40D373
analogous
#BC40D3 #D340A0 #D34057
triadic
#D340A0 #A0D340 #40A0D3
tetradic
#D340A0 #D3BC40 #40D373 #4057D3
square
#D340A0 #D3BC40 #40D373 #4057D3
split-complementary
#D340A0 #57D340 #40D3BC
monochromatic
#7C1D5B #AE287F #D340A0 #DE72B9 #EAA3D1

Accessibility & contrast

On white

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

On black

5.01
#D340A0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D340A0
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D340A0#FFFFFF#000000##000000
##D340A01.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#506CA3
Deuteranopia (green-blind)
#7C859D
Tritanopia (blue-blind)
#E13E6A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d340a0;
/* rgb */ color: rgb(211, 64, 160);
/* oklch */ color: oklch(61.3% 0.206 344.8);
Tailwind
colors: {
  custom: {
    50: '#e580bc',
    500: '#d340a0',
    950: '#000000',
  },
}
SCSS
$custom: #d340a0;
$custom-light: #e580bc;
$custom-dark: #000000;
JSON
{
  "hex": "#d340a0",
  "rgb": {
    "r": 211,
    "g": 64,
    "b": 160
  },
  "hsl": {
    "h": 320.816,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61259,
    "c": 0.20608,
    "h": 344.8
  },
  "luminance": 0.20054
}

Semantic roles & 50–950 ramp

primary
#D340A0
secondary
#98D7AE
accent
#E67B42
background
#FEF8FB
surface
#FDEFF6
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #D340A0

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

Preview Lab → · Contrast checker → · Palette generator →

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