#D340B5#D340B5

#D340B5 is a light, highly saturated pink. Relative luminance 0.209; OKLCH L 62.2% C 0.219 H 337.3°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#D340B5
RGBrgb(211, 64, 181)
HSLhsl(312, 63%, 54%)
HSVhsv(312, 70%, 83%)
CMYKcmyk(0%, 69.7%, 14.2%, 17.3%)
CIE-LABlab(52.79, 68.70, -31.23)
CIE-LCHlch(52.79, 75.46, 335.55°)
OKLaboklab(62.2% 0.2023 -0.0848)
OKLCHoklch(62.2% 0.219 337.3)
XYZxyz(37.0385, 20.8552, 45.7819)
Luminance0.2085 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D340B5 #40D35E
analogous
#A840D3 #D340B5 #D3406C
triadic
#D340B5 #B5D340 #40B5D3
tetradic
#D340B5 #D3A840 #40D35E #406CD3
square
#D340B5 #D3A840 #40D35E #406CD3
split-complementary
#D340B5 #6CD340 #40D3A8
monochromatic
#7C1D69 #AE2892 #D340B5 #DE72C8 #EAA3DC

Accessibility & contrast

On white

4.06
#D340B5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#D340B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D340B5
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D340B5#FFFFFF#000000##000000
##D340B51.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4470B8
Deuteranopia (green-blind)
#7586B1
Tritanopia (blue-blind)
#DE4875
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d340b5;
/* rgb */ color: rgb(211, 64, 181);
/* oklch */ color: oklch(62.2% 0.219 337.3);
Tailwind
colors: {
  custom: {
    50: '#e481cb',
    500: '#d340b5',
    950: '#000000',
  },
}
SCSS
$custom: #d340b5;
$custom-light: #e481cb;
$custom-dark: #000000;
JSON
{
  "hex": "#d340b5",
  "rgb": {
    "r": 211,
    "g": 64,
    "b": 181
  },
  "hsl": {
    "h": 312.245,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.62196,
    "c": 0.21939,
    "h": 337.3
  },
  "luminance": 0.20852
}

Semantic roles & 50–950 ramp

primary
#D340B5
secondary
#98D7A5
accent
#E66442
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #D340B5

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

Preview Lab → · Contrast checker → · Palette generator →

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