#D338A9#D338A9

#D338A9 is a mid, highly saturated pink. Relative luminance 0.195; OKLCH L 61.0% C 0.221 H 341.1°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#D338A9
RGBrgb(211, 56, 169)
HSLhsl(316, 64%, 52%)
HSVhsv(316, 73%, 83%)
CMYKcmyk(0%, 73.5%, 19.9%, 17.3%)
CIE-LABlab(51.32, 69.71, -26.49)
CIE-LCHlch(51.32, 74.58, 339.19°)
OKLaboklab(60.96% 0.2087 -0.0713)
OKLCHoklch(60.96% 0.221 341.1)
XYZxyz(35.4407, 19.5454, 39.4346)
Luminance0.1954 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D338A9 #38D362
analogous
#AF38D3 #D338A9 #D3385C
triadic
#D338A9 #A9D338 #38A9D3
tetradic
#D338A9 #D3AF38 #38D362 #385CD3
square
#D338A9 #D3AF38 #38D362 #385CD3
split-complementary
#D338A9 #5CD338 #38D3AF
monochromatic
#761A5D #A92585 #D338A9 #DE6ABF #E99CD4

Accessibility & contrast

On white

4.28
#D338A9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#D338A9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D338A9
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D338A9#FFFFFF#000000##000000
##D338A91.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#456AAC
Deuteranopia (green-blind)
#7783A5
Tritanopia (blue-blind)
#E03B6C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #d338a9;
/* rgb */ color: rgb(211, 56, 169);
/* oklch */ color: oklch(61.0% 0.221 341.1);
Tailwind
colors: {
  custom: {
    50: '#e57dc3',
    500: '#d338a9',
    950: '#000000',
  },
}
SCSS
$custom: #d338a9;
$custom-light: #e57dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#d338a9",
  "rgb": {
    "r": 211,
    "g": 56,
    "b": 169
  },
  "hsl": {
    "h": 316.258,
    "s": 63.786,
    "l": 52.353
  },
  "oklch": {
    "l": 0.60956,
    "c": 0.22057,
    "h": 341.1
  },
  "luminance": 0.19542
}

Semantic roles & 50–950 ramp

primary
#D338A9
secondary
#92D5A4
accent
#E76E41
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B12
muted
#847C81

Preview Lab

Preview with #D338A9

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

Preview Lab → · Contrast checker → · Palette generator →

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