#D38EC2#D38EC2

#D38EC2 is a light, moderate pink. Relative luminance 0.371; OKLCH L 73.2% C 0.107 H 336.0°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#D38EC2
RGBrgb(211, 142, 194)
HSLhsl(315, 44%, 69%)
HSVhsv(315, 33%, 83%)
CMYKcmyk(0%, 32.7%, 8.1%, 17.3%)
CIE-LABlab(67.35, 34.09, -16.30)
CIE-LCHlch(67.35, 37.79, 334.44°)
OKLaboklab(73.19% 0.098 -0.0436)
OKLCHoklch(73.19% 0.107 336)
XYZxyz(46.2742, 37.0920, 55.7505)
Luminance0.3709 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D38EC2 #8ED39F
analogous
#C28ED3 #D38EC2 #D38EA0
triadic
#D38EC2 #C2D38E #8EC2D3
tetradic
#D38EC2 #D3C28E #8ED39F #8EA0D3
square
#D38EC2 #D3C28E #8ED39F #8EA0D3
split-complementary
#D38EC2 #A0D38E #8ED3C2
monochromatic
#A6418D #C262AA #D38EC2 #E4BADA #F5E6F2

Accessibility & contrast

On white

2.49
#D38EC2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#D38EC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D38EC2
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D38EC2#FFFFFF#000000##000000
##D38EC21.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F9EC4
Deuteranopia (green-blind)
#9FA8C0
Tritanopia (blue-blind)
#DA90A1
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #d38ec2;
/* rgb */ color: rgb(211, 142, 194);
/* oklch */ color: oklch(73.2% 0.107 336.0);
Tailwind
colors: {
  custom: {
    50: '#e1b0d4',
    500: '#d38ec2',
    950: '#000000',
  },
}
SCSS
$custom: #d38ec2;
$custom-light: #e1b0d4;
$custom-dark: #000000;
JSON
{
  "hex": "#d38ec2",
  "rgb": {
    "r": 211,
    "g": 142,
    "b": 194
  },
  "hsl": {
    "h": 314.783,
    "s": 43.949,
    "l": 69.216
  },
  "oklch": {
    "l": 0.73194,
    "c": 0.10725,
    "h": 336
  },
  "luminance": 0.3709
}

Semantic roles & 50–950 ramp

primary
#D38EC2
secondary
#D4E8D9
accent
#B7502E
background
#FDFAFD
surface
#FBF5FA
border
#D4CFD3
text
#151014
muted
#837F83

Preview Lab

Preview with #D38EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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