#D340A3#D340A3

#D340A3 is a mid, highly saturated pink. Relative luminance 0.202; OKLCH L 61.4% C 0.208 H 343.7°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#D340A3
RGBrgb(211, 64, 163)
HSLhsl(320, 63%, 54%)
HSVhsv(320, 70%, 83%)
CMYKcmyk(0%, 69.7%, 22.7%, 17.3%)
CIE-LABlab(52.02, 66.24, -21.88)
CIE-LCHlch(52.02, 69.76, 341.72°)
OKLaboklab(61.39% 0.1995 -0.0584)
OKLCHoklch(61.39% 0.208 343.7)
XYZxyz(35.3095, 20.1636, 36.6756)
Luminance0.2016 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D340A3 #40D370
analogous
#BA40D3 #D340A3 #D3405A
triadic
#D340A3 #A3D340 #40A3D3
tetradic
#D340A3 #D3BA40 #40D370 #405AD3
square
#D340A3 #D3BA40 #40D370 #405AD3
split-complementary
#D340A3 #5AD340 #40D3BA
monochromatic
#7C1D5D #AE2882 #D340A3 #DE72BB #EAA3D3

Accessibility & contrast

On white

4.17
#D340A3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#D340A3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D340A3
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D340A3#FFFFFF#000000##000000
##D340A31.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F6CA6
Deuteranopia (green-blind)
#7C85A0
Tritanopia (blue-blind)
#E0406C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d340a3;
/* rgb */ color: rgb(211, 64, 163);
/* oklch */ color: oklch(61.4% 0.208 343.7);
Tailwind
colors: {
  custom: {
    50: '#e580be',
    500: '#d340a3',
    950: '#000000',
  },
}
SCSS
$custom: #d340a3;
$custom-light: #e580be;
$custom-dark: #000000;
JSON
{
  "hex": "#d340a3",
  "rgb": {
    "r": 211,
    "g": 64,
    "b": 163
  },
  "hsl": {
    "h": 319.592,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61385,
    "c": 0.20786,
    "h": 343.7
  },
  "luminance": 0.2016
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D340A3

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

Preview Lab → · Contrast checker → · Palette generator →

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