#D138AB#D138AB

#D138AB is a mid, highly saturated pink. Relative luminance 0.193; OKLCH L 60.7% C 0.221 H 339.9°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#D138AB
RGBrgb(209, 56, 171)
HSLhsl(315, 62%, 52%)
HSVhsv(315, 73%, 82%)
CMYKcmyk(0%, 73.2%, 18.2%, 18%)
CIE-LABlab(51.07, 69.50, -28.09)
CIE-LCHlch(51.07, 74.96, 338.00°)
OKLaboklab(60.74% 0.2072 -0.0759)
OKLCHoklch(60.74% 0.221 339.9)
XYZxyz(35.0603, 19.3274, 40.4043)
Luminance0.1932 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D138AB #38D15E
analogous
#AB38D1 #D138AB #D1385F
triadic
#D138AB #ABD138 #38ABD1
tetradic
#D138AB #D1AB38 #38D15E #385FD1
square
#D138AB #D1AB38 #38D15E #385FD1
split-complementary
#D138AB #5FD138 #38D1AB
monochromatic
#741B5E #A62686 #D138AB #DC6AC0 #E89BD5

Accessibility & contrast

On white

4.32
#D138AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#D138AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D138AB
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D138AB#FFFFFF#000000##000000
##D138AB1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#426AAE
Deuteranopia (green-blind)
#7482A7
Tritanopia (blue-blind)
#DD3D6D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #d138ab;
/* rgb */ color: rgb(209, 56, 171);
/* oklch */ color: oklch(60.7% 0.221 339.9);
Tailwind
colors: {
  custom: {
    50: '#e37dc4',
    500: '#d138ab',
    950: '#000000',
  },
}
SCSS
$custom: #d138ab;
$custom-light: #e37dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#d138ab",
  "rgb": {
    "r": 209,
    "g": 56,
    "b": 171
  },
  "hsl": {
    "h": 314.902,
    "s": 62.449,
    "l": 51.961
  },
  "oklch": {
    "l": 0.60739,
    "c": 0.22061,
    "h": 339.9
  },
  "luminance": 0.19324
}

Semantic roles & 50–950 ramp

primary
#D138AB
secondary
#91D4A2
accent
#E66B42
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B12
muted
#847C81

Preview Lab

Preview with #D138AB

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

Preview Lab → · Contrast checker → · Palette generator →

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