#D18EA2#D18EA2

#D18EA2 is a light, moderate pink. Relative luminance 0.355; OKLCH L 71.9% C 0.085 H 360.0°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#D18EA2
RGBrgb(209, 142, 162)
HSLhsl(342, 42%, 69%)
HSVhsv(342, 32%, 82%)
CMYKcmyk(0%, 32.1%, 22.5%, 18%)
CIE-LABlab(66.15, 28.24, -0.15)
CIE-LCHlch(66.15, 28.24, 359.69°)
OKLaboklab(71.91% 0.085 0)
OKLCHoklch(71.91% 0.085 0)
XYZxyz(42.4898, 35.5124, 38.7920)
Luminance0.3551 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D18EA2 #8ED1BD
analogous
#D18EC4 #D18EA2 #D19C8E
triadic
#D18EA2 #A2D18E #8EA2D1
tetradic
#D18EA2 #C4D18E #8ED1BD #9C8ED1
square
#D18EA2 #C4D18E #8ED1BD #9C8ED1
split-complementary
#D18EA2 #8ED19C #8EC4D1
monochromatic
#A2425F #BF637E #D18EA2 #E3B9C6 #F4E5EA

Accessibility & contrast

On white

2.59
#D18EA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#D18EA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D18EA2
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D18EA2#FFFFFF#000000##000000
##D18EA21.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#979AA3
Deuteranopia (green-blind)
#A7A5A1
Tritanopia (blue-blind)
#DC8A95
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d18ea2;
/* rgb */ color: rgb(209, 142, 162);
/* oklch */ color: oklch(71.9% 0.085 360.0);
Tailwind
colors: {
  custom: {
    50: '#e0afbd',
    500: '#d18ea2',
    950: '#000000',
  },
}
SCSS
$custom: #d18ea2;
$custom-light: #e0afbd;
$custom-dark: #000000;
JSON
{
  "hex": "#d18ea2",
  "rgb": {
    "r": 209,
    "g": 142,
    "b": 162
  },
  "hsl": {
    "h": 342.09,
    "s": 42.138,
    "l": 68.824
  },
  "oklch": {
    "l": 0.71905,
    "c": 0.08497,
    "h": 360
  },
  "luminance": 0.3551
}

Semantic roles & 50–950 ramp

primary
#D18EA2
secondary
#D3E7E1
accent
#B58E30
background
#FDFAFB
surface
#FBF4F6
border
#D4CED0
text
#151012
muted
#837F81

Preview Lab

Preview with #D18EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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