#D138AC#D138AC

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

Color values

HEX#D138AC
RGBrgb(209, 56, 172)
HSLhsl(315, 62%, 52%)
HSVhsv(315, 73%, 82%)
CMYKcmyk(0%, 73.2%, 17.7%, 18%)
CIE-LABlab(51.11, 69.64, -28.60)
CIE-LCHlch(51.11, 75.28, 337.67°)
OKLaboklab(60.79% 0.2073 -0.0773)
OKLCHoklch(60.79% 0.221 339.5)
XYZxyz(35.1560, 19.3656, 40.9082)
Luminance0.1936 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D138AC #38D15D
analogous
#AA38D1 #D138AC #D13860
triadic
#D138AC #ACD138 #38ACD1
tetradic
#D138AC #D1AA38 #38D15D #3860D1
square
#D138AC #D1AA38 #38D15D #3860D1
split-complementary
#D138AC #60D138 #38D1AA
monochromatic
#741B5E #A62687 #D138AC #DC6AC1 #E89BD5

Accessibility & contrast

On white

4.31
#D138AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#D138AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D138AC
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D138AC#FFFFFF#000000##000000
##D138AC1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#426AAF
Deuteranopia (green-blind)
#7482A8
Tritanopia (blue-blind)
#DD3E6E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #d138ac;
/* rgb */ color: rgb(209, 56, 172);
/* oklch */ color: oklch(60.8% 0.221 339.5);
Tailwind
colors: {
  custom: {
    50: '#e37dc5',
    500: '#d138ac',
    950: '#000000',
  },
}
SCSS
$custom: #d138ac;
$custom-light: #e37dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#d138ac",
  "rgb": {
    "r": 209,
    "g": 56,
    "b": 172
  },
  "hsl": {
    "h": 314.51,
    "s": 62.449,
    "l": 51.961
  },
  "oklch": {
    "l": 0.60786,
    "c": 0.22124,
    "h": 339.5
  },
  "luminance": 0.19362
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D138AC

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

Preview Lab → · Contrast checker → · Palette generator →

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