#D340B2#D340B2

#D340B2 is a light, highly saturated pink. Relative luminance 0.207; OKLCH L 62.1% C 0.217 H 338.3°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#D340B2
RGBrgb(211, 64, 178)
HSLhsl(313, 63%, 54%)
HSVhsv(313, 70%, 83%)
CMYKcmyk(0%, 69.7%, 15.6%, 17.3%)
CIE-LABlab(52.66, 68.27, -29.69)
CIE-LCHlch(52.66, 74.45, 336.50°)
OKLaboklab(62.05% 0.2019 -0.0804)
OKLCHoklch(62.05% 0.217 338.3)
XYZxyz(36.7340, 20.7334, 44.1782)
Luminance0.2073 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D340B2 #40D361
analogous
#AA40D3 #D340B2 #D34069
triadic
#D340B2 #B2D340 #40B2D3
tetradic
#D340B2 #D3AA40 #40D361 #4069D3
square
#D340B2 #D3AA40 #40D361 #4069D3
split-complementary
#D340B2 #69D340 #40D3AA
monochromatic
#7C1D67 #AE2890 #D340B2 #DE72C6 #EAA3DA

Accessibility & contrast

On white

4.08
#D340B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#D340B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D340B2
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D340B2#FFFFFF#000000##000000
##D340B21.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#466FB5
Deuteranopia (green-blind)
#7686AE
Tritanopia (blue-blind)
#DF4774
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d340b2;
/* rgb */ color: rgb(211, 64, 178);
/* oklch */ color: oklch(62.1% 0.217 338.3);
Tailwind
colors: {
  custom: {
    50: '#e481c9',
    500: '#d340b2',
    950: '#000000',
  },
}
SCSS
$custom: #d340b2;
$custom-light: #e481c9;
$custom-dark: #000000;
JSON
{
  "hex": "#d340b2",
  "rgb": {
    "r": 211,
    "g": 64,
    "b": 178
  },
  "hsl": {
    "h": 313.469,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.62054,
    "c": 0.21737,
    "h": 338.3
  },
  "luminance": 0.2073
}

Semantic roles & 50–950 ramp

primary
#D340B2
secondary
#98D7A6
accent
#E66742
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #D340B2

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

Preview Lab → · Contrast checker → · Palette generator →

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