#D340B0#D340B0

#D340B0 is a mid, highly saturated pink. Relative luminance 0.206; OKLCH L 62.0% C 0.216 H 339.0°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#D340B0
RGBrgb(211, 64, 176)
HSLhsl(314, 63%, 54%)
HSVhsv(314, 70%, 83%)
CMYKcmyk(0%, 69.7%, 16.6%, 17.3%)
CIE-LABlab(52.57, 67.99, -28.66)
CIE-LCHlch(52.57, 73.79, 337.14°)
OKLaboklab(61.96% 0.2017 -0.0775)
OKLCHoklch(61.96% 0.216 339)
XYZxyz(36.5347, 20.6537, 43.1283)
Luminance0.2065 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D340B0 #40D363
analogous
#AD40D3 #D340B0 #D34067
triadic
#D340B0 #B0D340 #40B0D3
tetradic
#D340B0 #D3AD40 #40D363 #4067D3
square
#D340B0 #D3AD40 #40D363 #4067D3
split-complementary
#D340B0 #67D340 #40D3AD
monochromatic
#7C1D65 #AE288E #D340B0 #DE72C5 #EAA3D9

Accessibility & contrast

On white

4.09
#D340B0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#D340B0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D340B0
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D340B0#FFFFFF#000000##000000
##D340B01.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#486FB3
Deuteranopia (green-blind)
#7786AC
Tritanopia (blue-blind)
#DF4673
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d340b0;
/* rgb */ color: rgb(211, 64, 176);
/* oklch */ color: oklch(62.0% 0.216 339.0);
Tailwind
colors: {
  custom: {
    50: '#e481c8',
    500: '#d340b0',
    950: '#000000',
  },
}
SCSS
$custom: #d340b0;
$custom-light: #e481c8;
$custom-dark: #000000;
JSON
{
  "hex": "#d340b0",
  "rgb": {
    "r": 211,
    "g": 64,
    "b": 176
  },
  "hsl": {
    "h": 314.286,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61962,
    "c": 0.21604,
    "h": 339
  },
  "luminance": 0.2065
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D340B0

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

Preview Lab → · Contrast checker → · Palette generator →

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