#D340AF#D340AF

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

Color values

HEX#D340AF
RGBrgb(211, 64, 175)
HSLhsl(315, 63%, 54%)
HSVhsv(315, 70%, 83%)
CMYKcmyk(0%, 69.7%, 17.1%, 17.3%)
CIE-LABlab(52.52, 67.85, -28.14)
CIE-LCHlch(52.52, 73.46, 337.47°)
OKLaboklab(61.92% 0.2015 -0.0761)
OKLCHoklch(61.92% 0.215 339.3)
XYZxyz(36.4361, 20.6143, 42.6091)
Luminance0.2061 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D340AF #40D364
analogous
#AE40D3 #D340AF #D34066
triadic
#D340AF #AFD340 #40AFD3
tetradic
#D340AF #D3AE40 #40D364 #4066D3
square
#D340AF #D3AE40 #40D364 #4066D3
split-complementary
#D340AF #66D340 #40D3AE
monochromatic
#7C1D65 #AE288D #D340AF #DE72C4 #EAA3D9

Accessibility & contrast

On white

4.10
#D340AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#D340AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D340AF
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D340AF#FFFFFF#000000##000000
##D340AF1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#486EB2
Deuteranopia (green-blind)
#7786AB
Tritanopia (blue-blind)
#DF4572
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d340af;
/* rgb */ color: rgb(211, 64, 175);
/* oklch */ color: oklch(61.9% 0.215 339.3);
Tailwind
colors: {
  custom: {
    50: '#e481c7',
    500: '#d340af',
    950: '#000000',
  },
}
SCSS
$custom: #d340af;
$custom-light: #e481c7;
$custom-dark: #000000;
JSON
{
  "hex": "#d340af",
  "rgb": {
    "r": 211,
    "g": 64,
    "b": 175
  },
  "hsl": {
    "h": 314.694,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61916,
    "c": 0.21539,
    "h": 339.3
  },
  "luminance": 0.20611
}

Semantic roles & 50–950 ramp

primary
#D340AF
secondary
#98D7A7
accent
#E66A42
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #D340AF

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

Preview Lab → · Contrast checker → · Palette generator →

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