#D181CB#D181CB

#D181CB is a light, vivid purple. Relative luminance 0.336; OKLCH L 71.2% C 0.137 H 329.6°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#D181CB
RGBrgb(209, 129, 203)
HSLhsl(305, 47%, 66%)
HSVhsv(305, 38%, 82%)
CMYKcmyk(0%, 38.3%, 2.9%, 18%)
CIE-LABlab(64.62, 41.98, -25.52)
CIE-LCHlch(64.62, 49.13, 328.71°)
OKLaboklab(71.19% 0.1179 -0.0692)
OKLCHoklch(71.19% 0.137 329.6)
XYZxyz(44.9236, 33.5697, 60.6016)
Luminance0.3357 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D181CB #81D187
analogous
#AF81D1 #D181CB #D181A3
triadic
#D181CB #CBD181 #81CBD1
tetradic
#D181CB #D1AF81 #81D187 #81A3D1
square
#D181CB #D1AF81 #81D187 #81A3D1
split-complementary
#D181CB #A3D181 #81D1AF
monochromatic
#9E3A96 #C154B8 #D181CB #E1AEDE #F2DBF0

Accessibility & contrast

On white

2.72
#D181CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#D181CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D181CB
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D181CB#FFFFFF#000000##000000
##D181CB1.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D96CE
Deuteranopia (green-blind)
#92A1C8
Tritanopia (blue-blind)
#D7879D
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d181cb;
/* rgb */ color: rgb(209, 129, 203);
/* oklch */ color: oklch(71.2% 0.137 329.6);
Tailwind
colors: {
  custom: {
    50: '#e0a7db',
    500: '#d181cb',
    950: '#000000',
  },
}
SCSS
$custom: #d181cb;
$custom-light: #e0a7db;
$custom-dark: #000000;
JSON
{
  "hex": "#d181cb",
  "rgb": {
    "r": 209,
    "g": 129,
    "b": 203
  },
  "hsl": {
    "h": 304.5,
    "s": 46.512,
    "l": 66.275
  },
  "oklch": {
    "l": 0.71187,
    "c": 0.13675,
    "h": 329.6
  },
  "luminance": 0.33568
}

Semantic roles & 50–950 ramp

primary
#D181CB
secondary
#CAE4CC
accent
#BA362C
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #D181CB

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

Preview Lab → · Contrast checker → · Palette generator →

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