#D945B2#D945B2

#D945B2 is a light, highly saturated pink. Relative luminance 0.222; OKLCH L 63.4% C 0.215 H 340.1°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#D945B2
RGBrgb(217, 69, 178)
HSLhsl(316, 66%, 56%)
HSVhsv(316, 68%, 85%)
CMYKcmyk(0%, 68.2%, 18%, 14.9%)
CIE-LABlab(54.27, 67.98, -27.12)
CIE-LCHlch(54.27, 73.18, 338.25°)
OKLaboklab(63.41% 0.2024 -0.0731)
OKLCHoklch(63.41% 0.215 340.1)
XYZxyz(38.7803, 22.2260, 44.3585)
Luminance0.2222 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D945B2 #45D96C
analogous
#B645D9 #D945B2 #D94568
triadic
#D945B2 #B2D945 #45B2D9
tetradic
#D945B2 #D9B645 #45D96C #4568D9
square
#D945B2 #D9B645 #45D96C #4568D9
split-complementary
#D945B2 #68D945 #45D9B6
monochromatic
#881C6B #BB2694 #D945B2 #E378C7 #EEABDC

Accessibility & contrast

On white

3.86
#D945B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#D945B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D945B2
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D945B2#FFFFFF#000000##000000
##D945B21.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E73B5
Deuteranopia (green-blind)
#7D8AAE
Tritanopia (blue-blind)
#E54976
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d945b2;
/* rgb */ color: rgb(217, 69, 178);
/* oklch */ color: oklch(63.4% 0.215 340.1);
Tailwind
colors: {
  custom: {
    50: '#e984c9',
    500: '#d945b2',
    950: '#000000',
  },
}
SCSS
$custom: #d945b2;
$custom-light: #e984c9;
$custom-dark: #000000;
JSON
{
  "hex": "#d945b2",
  "rgb": {
    "r": 217,
    "g": 69,
    "b": 178
  },
  "hsl": {
    "h": 315.811,
    "s": 66.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.63411,
    "c": 0.21516,
    "h": 340.1
  },
  "luminance": 0.22222
}

Semantic roles & 50–950 ramp

primary
#D945B2
secondary
#9EDBAE
accent
#E96C3F
background
#FEF8FC
surface
#FDF0F8
border
#D5CBD1
text
#170C13
muted
#857D82

Preview Lab

Preview with #D945B2

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

Preview Lab → · Contrast checker → · Palette generator →

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