#D338B3#D338B3

#D338B3 is a mid, highly saturated pink. Relative luminance 0.199; OKLCH L 61.4% C 0.227 H 337.7°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#D338B3
RGBrgb(211, 56, 179)
HSLhsl(312, 64%, 52%)
HSVhsv(312, 73%, 83%)
CMYKcmyk(0%, 73.5%, 15.2%, 17.3%)
CIE-LABlab(51.76, 71.06, -31.66)
CIE-LCHlch(51.76, 77.80, 335.98°)
OKLaboklab(61.42% 0.21 -0.086)
OKLCHoklch(61.42% 0.227 337.7)
XYZxyz(36.4156, 19.9353, 44.5691)
Luminance0.1993 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D338B3 #38D358
analogous
#A538D3 #D338B3 #D33866
triadic
#D338B3 #B3D338 #38B3D3
tetradic
#D338B3 #D3A538 #38D358 #3866D3
square
#D338B3 #D3A538 #38D358 #3866D3
split-complementary
#D338B3 #66D338 #38D3A5
monochromatic
#761A63 #A9258D #D338B3 #DE6AC6 #E99CD9

Accessibility & contrast

On white

4.21
#D338B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#D338B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D338B3
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D338B3#FFFFFF#000000##000000
##D338B31.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E6CB6
Deuteranopia (green-blind)
#7384AF
Tritanopia (blue-blind)
#DF4172
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d338b3;
/* rgb */ color: rgb(211, 56, 179);
/* oklch */ color: oklch(61.4% 0.227 337.7);
Tailwind
colors: {
  custom: {
    50: '#e57dca',
    500: '#d338b3',
    950: '#000000',
  },
}
SCSS
$custom: #d338b3;
$custom-light: #e57dca;
$custom-dark: #000000;
JSON
{
  "hex": "#d338b3",
  "rgb": {
    "r": 211,
    "g": 56,
    "b": 179
  },
  "hsl": {
    "h": 312.387,
    "s": 63.786,
    "l": 52.353
  },
  "oklch": {
    "l": 0.61423,
    "c": 0.22695,
    "h": 337.7
  },
  "luminance": 0.19932
}

Semantic roles & 50–950 ramp

primary
#D338B3
secondary
#92D5A0
accent
#E76341
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #D338B3

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

Preview Lab → · Contrast checker → · Palette generator →

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