#D339B2#D339B2

#D339B2 is a mid, highly saturated pink. Relative luminance 0.200; OKLCH L 61.5% C 0.225 H 338.1°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#D339B2
RGBrgb(211, 57, 178)
HSLhsl(313, 64%, 53%)
HSVhsv(313, 73%, 83%)
CMYKcmyk(0%, 73%, 15.6%, 17.3%)
CIE-LABlab(51.83, 70.61, -30.98)
CIE-LCHlch(51.83, 77.11, 336.31°)
OKLaboklab(61.46% 0.209 -0.084)
OKLCHoklch(61.46% 0.225 338.1)
XYZxyz(36.3638, 19.9929, 44.0547)
Luminance0.1999 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D339B2 #39D35A
analogous
#A739D3 #D339B2 #D33965
triadic
#D339B2 #B2D339 #39B2D3
tetradic
#D339B2 #D3A739 #39D35A #3965D3
square
#D339B2 #D3A739 #39D35A #3965D3
split-complementary
#D339B2 #65D339 #39D3A7
monochromatic
#771A63 #A9268D #D339B2 #DE6BC5 #E99DD9

Accessibility & contrast

On white

4.20
#D339B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#D339B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D339B2
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D339B2#FFFFFF#000000##000000
##D339B21.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#406CB5
Deuteranopia (green-blind)
#7384AE
Tritanopia (blue-blind)
#DF4171
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d339b2;
/* rgb */ color: rgb(211, 57, 178);
/* oklch */ color: oklch(61.5% 0.225 338.1);
Tailwind
colors: {
  custom: {
    50: '#e57ec9',
    500: '#d339b2',
    950: '#000000',
  },
}
SCSS
$custom: #d339b2;
$custom-light: #e57ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#d339b2",
  "rgb": {
    "r": 211,
    "g": 57,
    "b": 178
  },
  "hsl": {
    "h": 312.857,
    "s": 63.636,
    "l": 52.549
  },
  "oklch": {
    "l": 0.61455,
    "c": 0.22523,
    "h": 338.1
  },
  "luminance": 0.19989
}

Semantic roles & 50–950 ramp

primary
#D339B2
secondary
#92D5A1
accent
#E76541
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #D339B2

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

Preview Lab → · Contrast checker → · Palette generator →

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