#D938B4#D938B4

#D938B4 is a light, highly saturated pink. Relative luminance 0.209; OKLCH L 62.4% C 0.231 H 339.0°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#D938B4
RGBrgb(217, 56, 180)
HSLhsl(314, 68%, 54%)
HSVhsv(314, 74%, 85%)
CMYKcmyk(0%, 74.2%, 17.1%, 14.9%)
CIE-LABlab(52.82, 72.58, -30.53)
CIE-LCHlch(52.82, 78.74, 337.19°)
OKLaboklab(62.39% 0.2157 -0.0827)
OKLCHoklch(62.39% 0.231 339)
XYZxyz(38.2686, 20.8791, 45.1858)
Luminance0.2087 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D938B4 #38D95D
analogous
#AD38D9 #D938B4 #D93863
triadic
#D938B4 #B4D938 #38B4D9
tetradic
#D938B4 #D9AD38 #38D95D #3863D9
square
#D938B4 #D9AD38 #38D95D #3863D9
split-complementary
#D938B4 #63D938 #38D9AD
monochromatic
#7E1867 #B22291 #D938B4 #E36BC7 #ED9FDB

Accessibility & contrast

On white

4.06
#D938B4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#D938B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D938B4
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D938B4#FFFFFF#000000##000000
##D938B41.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#426EB7
Deuteranopia (green-blind)
#7787B0
Tritanopia (blue-blind)
#E53F72
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d938b4;
/* rgb */ color: rgb(217, 56, 180);
/* oklch */ color: oklch(62.4% 0.231 339.0);
Tailwind
colors: {
  custom: {
    50: '#e97eca',
    500: '#d938b4',
    950: '#000000',
  },
}
SCSS
$custom: #d938b4;
$custom-light: #e97eca;
$custom-dark: #000000;
JSON
{
  "hex": "#d938b4",
  "rgb": {
    "r": 217,
    "g": 56,
    "b": 180
  },
  "hsl": {
    "h": 313.789,
    "s": 67.932,
    "l": 53.529
  },
  "oklch": {
    "l": 0.62388,
    "c": 0.23103,
    "h": 339
  },
  "luminance": 0.20875
}

Semantic roles & 50–950 ramp

primary
#D938B4
secondary
#94D9A4
accent
#EB653D
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#170B13
muted
#857C82

Preview Lab

Preview with #D938B4

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

Preview Lab → · Contrast checker → · Palette generator →

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