#D940BE#D940BE

#D940BE is a light, highly saturated pink. Relative luminance 0.221; OKLCH L 63.5% C 0.229 H 336.0°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#D940BE
RGBrgb(217, 64, 190)
HSLhsl(311, 67%, 55%)
HSVhsv(311, 71%, 85%)
CMYKcmyk(0%, 70.5%, 12.4%, 14.9%)
CIE-LABlab(54.17, 71.41, -34.21)
CIE-LCHlch(54.17, 79.19, 334.40°)
OKLaboklab(63.52% 0.2092 -0.0932)
OKLCHoklch(63.52% 0.229 336)
XYZxyz(39.7435, 22.1397, 50.8855)
Luminance0.2214 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D940BE #40D95B
analogous
#A740D9 #D940BE #D94072
triadic
#D940BE #BED940 #40BED9
tetradic
#D940BE #D9A740 #40D95B #4072D9
square
#D940BE #D9A740 #40D95B #4072D9
split-complementary
#D940BE #72D940 #40D9A7
monochromatic
#841A72 #B7249D #D940BE #E373CF #EDA6E1

Accessibility & contrast

On white

3.87
#D940BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#D940BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D940BE
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D940BE#FFFFFF#000000##000000
##D940BE1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4273C2
Deuteranopia (green-blind)
#768ABA
Tritanopia (blue-blind)
#E44A7A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #d940be;
/* rgb */ color: rgb(217, 64, 190);
/* oklch */ color: oklch(63.5% 0.229 336.0);
Tailwind
colors: {
  custom: {
    50: '#e982d2',
    500: '#d940be',
    950: '#000000',
  },
}
SCSS
$custom: #d940be;
$custom-light: #e982d2;
$custom-dark: #000000;
JSON
{
  "hex": "#d940be",
  "rgb": {
    "r": 217,
    "g": 64,
    "b": 190
  },
  "hsl": {
    "h": 310.588,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.63518,
    "c": 0.22902,
    "h": 336
  },
  "luminance": 0.22136
}

Semantic roles & 50–950 ramp

primary
#D940BE
secondary
#9ADAA6
accent
#EA5C3E
background
#FEF8FC
surface
#FDF0F9
border
#D5CBD2
text
#170C14
muted
#857D82

Preview Lab

Preview with #D940BE

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

Preview Lab → · Contrast checker → · Palette generator →

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