#D338B0#D338B0

#D338B0 is a mid, highly saturated pink. Relative luminance 0.198; OKLCH L 61.3% C 0.225 H 338.7°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#D338B0
RGBrgb(211, 56, 176)
HSLhsl(314, 64%, 52%)
HSVhsv(314, 73%, 83%)
CMYKcmyk(0%, 73.5%, 16.6%, 17.3%)
CIE-LABlab(51.63, 70.65, -30.12)
CIE-LCHlch(51.63, 76.80, 336.91°)
OKLaboklab(61.28% 0.2097 -0.0816)
OKLCHoklch(61.28% 0.225 338.7)
XYZxyz(36.1155, 19.8153, 42.9886)
Luminance0.1981 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D338B0 #38D35B
analogous
#A838D3 #D338B0 #D33863
triadic
#D338B0 #B0D338 #38B0D3
tetradic
#D338B0 #D3A838 #38D35B #3863D3
square
#D338B0 #D3A838 #38D35B #3863D3
split-complementary
#D338B0 #63D338 #38D3A8
monochromatic
#761A62 #A9258B #D338B0 #DE6AC4 #E99CD8

Accessibility & contrast

On white

4.23
#D338B0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#D338B0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D338B0
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D338B0#FFFFFF#000000##000000
##D338B01.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#406CB3
Deuteranopia (green-blind)
#7484AC
Tritanopia (blue-blind)
#DF3F70
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #d338b0;
/* rgb */ color: rgb(211, 56, 176);
/* oklch */ color: oklch(61.3% 0.225 338.7);
Tailwind
colors: {
  custom: {
    50: '#e57dc8',
    500: '#d338b0',
    950: '#000000',
  },
}
SCSS
$custom: #d338b0;
$custom-light: #e57dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#d338b0",
  "rgb": {
    "r": 211,
    "g": 56,
    "b": 176
  },
  "hsl": {
    "h": 313.548,
    "s": 63.786,
    "l": 52.353
  },
  "oklch": {
    "l": 0.6128,
    "c": 0.22499,
    "h": 338.7
  },
  "luminance": 0.19812
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D338B0

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

Preview Lab → · Contrast checker → · Palette generator →

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