#D938B2#D938B2

#D938B2 is a light, highly saturated pink. Relative luminance 0.208; OKLCH L 62.3% C 0.230 H 339.7°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#D938B2
RGBrgb(217, 56, 178)
HSLhsl(315, 68%, 54%)
HSVhsv(315, 74%, 85%)
CMYKcmyk(0%, 74.2%, 18%, 14.9%)
CIE-LABlab(52.73, 72.32, -29.50)
CIE-LCHlch(52.73, 78.10, 337.81°)
OKLaboklab(62.3% 0.2155 -0.0797)
OKLCHoklch(62.3% 0.23 339.7)
XYZxyz(38.0664, 20.7982, 44.1205)
Luminance0.2079 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D938B2 #38D95F
analogous
#AF38D9 #D938B2 #D93861
triadic
#D938B2 #B2D938 #38B2D9
tetradic
#D938B2 #D9AF38 #38D95F #3861D9
square
#D938B2 #D9AF38 #38D95F #3861D9
split-complementary
#D938B2 #61D938 #38D9AF
monochromatic
#7E1866 #B2228F #D938B2 #E36BC6 #ED9FDA

Accessibility & contrast

On white

4.07
#D938B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#D938B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D938B2
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D938B2#FFFFFF#000000##000000
##D938B21.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#436EB5
Deuteranopia (green-blind)
#7887AE
Tritanopia (blue-blind)
#E63E71
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d938b2;
/* rgb */ color: rgb(217, 56, 178);
/* oklch */ color: oklch(62.3% 0.230 339.7);
Tailwind
colors: {
  custom: {
    50: '#e97ec9',
    500: '#d938b2',
    950: '#000000',
  },
}
SCSS
$custom: #d938b2;
$custom-light: #e97ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#d938b2",
  "rgb": {
    "r": 217,
    "g": 56,
    "b": 178
  },
  "hsl": {
    "h": 314.534,
    "s": 67.932,
    "l": 53.529
  },
  "oklch": {
    "l": 0.62295,
    "c": 0.22976,
    "h": 339.7
  },
  "luminance": 0.20794
}

Semantic roles & 50–950 ramp

primary
#D938B2
secondary
#94D9A5
accent
#EB673D
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#170B13
muted
#857C82

Preview Lab

Preview with #D938B2

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

Preview Lab → · Contrast checker → · Palette generator →

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