#D18CA2#D18CA2

#D18CA2 is a light, moderate pink. Relative luminance 0.349; OKLCH L 71.6% C 0.088 H 358.9°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#D18CA2
RGBrgb(209, 140, 162)
HSLhsl(341, 43%, 68%)
HSVhsv(341, 33%, 82%)
CMYKcmyk(0%, 33%, 22.5%, 18%)
CIE-LABlab(65.69, 29.32, -0.82)
CIE-LCHlch(65.69, 29.33, 358.40°)
OKLaboklab(71.56% 0.0882 -0.0017)
OKLCHoklch(71.56% 0.088 358.9)
XYZxyz(42.1949, 34.9226, 38.6937)
Luminance0.3492 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D18CA2 #8CD1BB
analogous
#D18CC4 #D18CA2 #D1988C
triadic
#D18CA2 #A2D18C #8CA2D1
tetradic
#D18CA2 #C4D18C #8CD1BB #988CD1
square
#D18CA2 #C4D18C #8CD1BB #988CD1
split-complementary
#D18CA2 #8CD198 #8CC4D1
monochromatic
#A24160 #C0607F #D18CA2 #E2B8C5 #F4E3E9

Accessibility & contrast

On white

2.63
#D18CA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#D18CA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D18CA2
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D18CA2#FFFFFF#000000##000000
##D18CA21.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9598A3
Deuteranopia (green-blind)
#A5A4A0
Tritanopia (blue-blind)
#DC8894
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d18ca2;
/* rgb */ color: rgb(209, 140, 162);
/* oklch */ color: oklch(71.6% 0.088 358.9);
Tailwind
colors: {
  custom: {
    50: '#e0aebd',
    500: '#d18ca2',
    950: '#000000',
  },
}
SCSS
$custom: #d18ca2;
$custom-light: #e0aebd;
$custom-dark: #000000;
JSON
{
  "hex": "#d18ca2",
  "rgb": {
    "r": 209,
    "g": 140,
    "b": 162
  },
  "hsl": {
    "h": 340.87,
    "s": 42.857,
    "l": 68.431
  },
  "oklch": {
    "l": 0.71555,
    "c": 0.08819,
    "h": 358.9
  },
  "luminance": 0.3492
}

Semantic roles & 50–950 ramp

primary
#D18CA2
secondary
#D2E7E0
accent
#B68B30
background
#FDFAFB
surface
#FBF4F6
border
#D4CED0
text
#151012
muted
#837F81

Preview Lab

Preview with #D18CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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