#D338AE#D338AE

#D338AE is a mid, highly saturated pink. Relative luminance 0.197; OKLCH L 61.2% C 0.224 H 339.4°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#D338AE
RGBrgb(211, 56, 174)
HSLhsl(314, 64%, 52%)
HSVhsv(314, 73%, 83%)
CMYKcmyk(0%, 73.5%, 17.5%, 17.3%)
CIE-LABlab(51.54, 70.38, -29.09)
CIE-LCHlch(51.54, 76.15, 337.54°)
OKLaboklab(61.19% 0.2094 -0.0787)
OKLCHoklch(61.19% 0.224 339.4)
XYZxyz(35.9191, 19.7367, 41.9541)
Luminance0.1973 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D338AE #38D35D
analogous
#AB38D3 #D338AE #D33860
triadic
#D338AE #AED338 #38AED3
tetradic
#D338AE #D3AB38 #38D35D #3860D3
square
#D338AE #D3AB38 #38D35D #3860D3
split-complementary
#D338AE #60D338 #38D3AB
monochromatic
#761A60 #A92589 #D338AE #DE6AC2 #E99CD7

Accessibility & contrast

On white

4.25
#D338AE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#D338AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D338AE
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D338AE#FFFFFF#000000##000000
##D338AE1.004.254.954.95
#FFFFFF4.251.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#426BB1
Deuteranopia (green-blind)
#7584AA
Tritanopia (blue-blind)
#DF3E6F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d338ae;
/* rgb */ color: rgb(211, 56, 174);
/* oklch */ color: oklch(61.2% 0.224 339.4);
Tailwind
colors: {
  custom: {
    50: '#e57dc6',
    500: '#d338ae',
    950: '#000000',
  },
}
SCSS
$custom: #d338ae;
$custom-light: #e57dc6;
$custom-dark: #000000;
JSON
{
  "hex": "#d338ae",
  "rgb": {
    "r": 211,
    "g": 56,
    "b": 174
  },
  "hsl": {
    "h": 314.323,
    "s": 63.786,
    "l": 52.353
  },
  "oklch": {
    "l": 0.61186,
    "c": 0.22371,
    "h": 339.4
  },
  "luminance": 0.19733
}

Semantic roles & 50–950 ramp

primary
#D338AE
secondary
#92D5A2
accent
#E76941
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #D338AE

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

Preview Lab → · Contrast checker → · Palette generator →

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