#D04BAF#D04BAF

#D04BAF is a light, vivid pink. Relative luminance 0.215; OKLCH L 62.6% C 0.199 H 338.9°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#D04BAF
RGBrgb(208, 75, 175)
HSLhsl(315, 59%, 55%)
HSVhsv(315, 64%, 82%)
CMYKcmyk(0%, 63.9%, 15.9%, 18.4%)
CIE-LABlab(53.54, 62.93, -26.61)
CIE-LCHlch(53.54, 68.33, 337.08°)
OKLaboklab(62.56% 0.1861 -0.0719)
OKLCHoklch(62.56% 0.199 338.9)
XYZxyz(36.2671, 21.5404, 42.7968)
Luminance0.2154 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04BAF #4BD06C
analogous
#AE4BD0 #D04BAF #D04B6D
triadic
#D04BAF #AFD04B #4BAFD0
tetradic
#D04BAF #D0AE4B #4BD06C #4B6DD0
square
#D04BAF #D0AE4B #4BD06C #4B6DD0
split-complementary
#D04BAF #6DD04B #4BD0AE
monochromatic
#7F2168 #B02E90 #D04BAF #DD7CC5 #E9ACDA

Accessibility & contrast

On white

3.96
#D04BAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#D04BAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04BAF
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04BAF#FFFFFF#000000##000000
##D04BAF1.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5173B2
Deuteranopia (green-blind)
#7A88AC
Tritanopia (blue-blind)
#DB5076
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #d04baf;
/* rgb */ color: rgb(208, 75, 175);
/* oklch */ color: oklch(62.6% 0.199 338.9);
Tailwind
colors: {
  custom: {
    50: '#e286c7',
    500: '#d04baf',
    950: '#000000',
  },
}
SCSS
$custom: #d04baf;
$custom-light: #e286c7;
$custom-dark: #000000;
JSON
{
  "hex": "#d04baf",
  "rgb": {
    "r": 208,
    "g": 75,
    "b": 175
  },
  "hsl": {
    "h": 314.887,
    "s": 58.59,
    "l": 55.49
  },
  "oklch": {
    "l": 0.6256,
    "c": 0.19948,
    "h": 338.9
  },
  "luminance": 0.21537
}

Semantic roles & 50–950 ramp

primary
#D04BAF
secondary
#A0D7AD
accent
#E26D46
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160C13
muted
#847D82

Preview Lab

Preview with #D04BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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