#D138AD#D138AD

#D138AD is a mid, highly saturated pink. Relative luminance 0.194; OKLCH L 60.8% C 0.222 H 339.2°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#D138AD
RGBrgb(209, 56, 173)
HSLhsl(314, 62%, 52%)
HSVhsv(314, 73%, 82%)
CMYKcmyk(0%, 73.2%, 17.2%, 18%)
CIE-LABlab(51.16, 69.77, -29.12)
CIE-LCHlch(51.16, 75.61, 337.34°)
OKLaboklab(60.83% 0.2074 -0.0788)
OKLCHoklch(60.83% 0.222 339.2)
XYZxyz(35.2524, 19.4042, 41.4159)
Luminance0.1940 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D138AD #38D15C
analogous
#A938D1 #D138AD #D13860
triadic
#D138AD #ADD138 #38ADD1
tetradic
#D138AD #D1A938 #38D15C #3860D1
square
#D138AD #D1A938 #38D15C #3860D1
split-complementary
#D138AD #60D138 #38D1A9
monochromatic
#741B5F #A62688 #D138AD #DC6AC1 #E89BD6

Accessibility & contrast

On white

4.30
#D138AD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#D138AD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D138AD
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D138AD#FFFFFF#000000##000000
##D138AD1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#416AB0
Deuteranopia (green-blind)
#7382A9
Tritanopia (blue-blind)
#DD3E6E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #d138ad;
/* rgb */ color: rgb(209, 56, 173);
/* oklch */ color: oklch(60.8% 0.222 339.2);
Tailwind
colors: {
  custom: {
    50: '#e37dc5',
    500: '#d138ad',
    950: '#000000',
  },
}
SCSS
$custom: #d138ad;
$custom-light: #e37dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#d138ad",
  "rgb": {
    "r": 209,
    "g": 56,
    "b": 173
  },
  "hsl": {
    "h": 314.118,
    "s": 62.449,
    "l": 51.961
  },
  "oklch": {
    "l": 0.60832,
    "c": 0.22188,
    "h": 339.2
  },
  "luminance": 0.19401
}

Semantic roles & 50–950 ramp

primary
#D138AD
secondary
#91D4A1
accent
#E66942
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #D138AD

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

Preview Lab → · Contrast checker → · Palette generator →

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