#D138A9#D138A9

#D138A9 is a mid, highly saturated pink. Relative luminance 0.192; OKLCH L 60.6% C 0.219 H 340.6°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#D138A9
RGBrgb(209, 56, 169)
HSLhsl(316, 62%, 52%)
HSVhsv(316, 73%, 82%)
CMYKcmyk(0%, 73.2%, 19.1%, 18%)
CIE-LABlab(50.98, 69.23, -27.05)
CIE-LCHlch(50.98, 74.33, 338.66°)
OKLaboklab(60.65% 0.2069 -0.0729)
OKLCHoklch(60.65% 0.219 340.6)
XYZxyz(34.8711, 19.2517, 39.4079)
Luminance0.1925 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D138A9 #38D160
analogous
#AC38D1 #D138A9 #D1385D
triadic
#D138A9 #A9D138 #38A9D1
tetradic
#D138A9 #D1AC38 #38D160 #385DD1
square
#D138A9 #D1AC38 #38D160 #385DD1
split-complementary
#D138A9 #5DD138 #38D1AC
monochromatic
#741B5D #A62684 #D138A9 #DC6ABE #E89BD4

Accessibility & contrast

On white

4.33
#D138A9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#D138A9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D138A9
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D138A9#FFFFFF#000000##000000
##D138A91.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#446AAC
Deuteranopia (green-blind)
#7582A5
Tritanopia (blue-blind)
#DD3C6C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #d138a9;
/* rgb */ color: rgb(209, 56, 169);
/* oklch */ color: oklch(60.6% 0.219 340.6);
Tailwind
colors: {
  custom: {
    50: '#e37dc3',
    500: '#d138a9',
    950: '#000000',
  },
}
SCSS
$custom: #d138a9;
$custom-light: #e37dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#d138a9",
  "rgb": {
    "r": 209,
    "g": 56,
    "b": 169
  },
  "hsl": {
    "h": 315.686,
    "s": 62.449,
    "l": 51.961
  },
  "oklch": {
    "l": 0.60647,
    "c": 0.21934,
    "h": 340.6
  },
  "luminance": 0.19248
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D138A9

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

Preview Lab → · Contrast checker → · Palette generator →

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