#D340BE#D340BE

#D340BE is a light, highly saturated purple. Relative luminance 0.212; OKLCH L 62.6% C 0.226 H 334.3°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#D340BE
RGBrgb(211, 64, 190)
HSLhsl(309, 63%, 54%)
HSVhsv(309, 70%, 83%)
CMYKcmyk(0%, 69.7%, 10%, 17.3%)
CIE-LABlab(53.21, 70.01, -35.80)
CIE-LCHlch(53.21, 78.63, 332.92°)
OKLaboklab(62.63% 0.2033 -0.0979)
OKLCHoklch(62.63% 0.226 334.3)
XYZxyz(37.9920, 21.2366, 50.8033)
Luminance0.2123 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D340BE #40D355
analogous
#9E40D3 #D340BE #D34075
triadic
#D340BE #BED340 #40BED3
tetradic
#D340BE #D39E40 #40D355 #4075D3
square
#D340BE #D39E40 #40D355 #4075D3
split-complementary
#D340BE #75D340 #40D39E
monochromatic
#7C1D6E #AE289B #D340BE #DE72CF #EAA3E0

Accessibility & contrast

On white

4.00
#D340BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#D340BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D340BE
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D340BE#FFFFFF#000000##000000
##D340BE1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E71C2
Deuteranopia (green-blind)
#7187BA
Tritanopia (blue-blind)
#DD4C7A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #d340be;
/* rgb */ color: rgb(211, 64, 190);
/* oklch */ color: oklch(62.6% 0.226 334.3);
Tailwind
colors: {
  custom: {
    50: '#e481d2',
    500: '#d340be',
    950: '#000000',
  },
}
SCSS
$custom: #d340be;
$custom-light: #e481d2;
$custom-dark: #000000;
JSON
{
  "hex": "#d340be",
  "rgb": {
    "r": 211,
    "g": 64,
    "b": 190
  },
  "hsl": {
    "h": 308.571,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.62633,
    "c": 0.22563,
    "h": 334.3
  },
  "luminance": 0.21233
}

Semantic roles & 50–950 ramp

primary
#D340BE
secondary
#98D7A1
accent
#E65A42
background
#FEF8FC
surface
#FDF0F9
border
#D5CBD2
text
#160B14
muted
#847C82

Preview Lab

Preview with #D340BE

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

Preview Lab → · Contrast checker → · Palette generator →

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