#D945B3#D945B3

#D945B3 is a light, highly saturated pink. Relative luminance 0.223; OKLCH L 63.5% C 0.216 H 339.8°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#D945B3
RGBrgb(217, 69, 179)
HSLhsl(315, 66%, 56%)
HSVhsv(315, 68%, 85%)
CMYKcmyk(0%, 68.2%, 17.5%, 14.9%)
CIE-LABlab(54.31, 68.11, -27.63)
CIE-LCHlch(54.31, 73.50, 337.92°)
OKLaboklab(63.46% 0.2025 -0.0745)
OKLCHoklch(63.46% 0.216 339.8)
XYZxyz(38.8810, 22.2663, 44.8892)
Luminance0.2226 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D945B3 #45D96B
analogous
#B545D9 #D945B3 #D94569
triadic
#D945B3 #B3D945 #45B3D9
tetradic
#D945B3 #D9B545 #45D96B #4569D9
square
#D945B3 #D9B545 #45D96B #4569D9
split-complementary
#D945B3 #69D945 #45D9B5
monochromatic
#881C6C #BB2695 #D945B3 #E378C8 #EEABDD

Accessibility & contrast

On white

3.85
#D945B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#D945B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D945B3
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D945B3#FFFFFF#000000##000000
##D945B31.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d945b3;
/* rgb */ color: rgb(217, 69, 179);
/* oklch */ color: oklch(63.5% 0.216 339.8);
Tailwind
colors: {
  custom: {
    50: '#e984ca',
    500: '#d945b3',
    950: '#000000',
  },
}
SCSS
$custom: #d945b3;
$custom-light: #e984ca;
$custom-dark: #000000;
JSON
{
  "hex": "#d945b3",
  "rgb": {
    "r": 217,
    "g": 69,
    "b": 179
  },
  "hsl": {
    "h": 315.405,
    "s": 66.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.63455,
    "c": 0.2158,
    "h": 339.8
  },
  "luminance": 0.22263
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D945B3

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

Preview Lab → · Contrast checker → · Palette generator →

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