#D04F8B#D04F8B

#D04F8B is a mid, vivid pink. Relative luminance 0.209; OKLCH L 61.6% C 0.173 H 354.5°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#D04F8B
RGBrgb(208, 79, 139)
HSLhsl(332, 58%, 56%)
HSVhsv(332, 62%, 82%)
CMYKcmyk(0%, 62%, 33.2%, 18.4%)
CIE-LABlab(52.81, 56.50, -6.53)
CIE-LCHlch(52.81, 56.88, 353.41°)
OKLaboklab(61.58% 0.1723 -0.0165)
OKLCHoklch(61.58% 0.173 354.5)
XYZxyz(33.4704, 20.8695, 26.6867)
Luminance0.2087 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04F8B #4FD094
analogous
#D04FCC #D04F8B #D0544F
triadic
#D04F8B #8BD04F #4F8BD0
tetradic
#D04F8B #CCD04F #4FD094 #544FD0
square
#D04F8B #CCD04F #4FD094 #544FD0
split-complementary
#D04F8B #4FD054 #4FCCD0
monochromatic
#82234F #B2306C #D04F8B #DD7FAB #EAB0CB

Accessibility & contrast

On white

4.06
#D04F8B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#D04F8B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04F8B
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04F8B#FFFFFF#000000##000000
##D04F8B1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#636F8D
Deuteranopia (green-blind)
#868788
Tritanopia (blue-blind)
#DF4667
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d04f8b;
/* rgb */ color: rgb(208, 79, 139);
/* oklch */ color: oklch(61.6% 0.173 354.5);
Tailwind
colors: {
  custom: {
    50: '#e287ac',
    500: '#d04f8b',
    950: '#000000',
  },
}
SCSS
$custom: #d04f8b;
$custom-light: #e287ac;
$custom-dark: #000000;
JSON
{
  "hex": "#d04f8b",
  "rgb": {
    "r": 208,
    "g": 79,
    "b": 139
  },
  "hsl": {
    "h": 332.093,
    "s": 57.848,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61584,
    "c": 0.17311,
    "h": 354.5
  },
  "luminance": 0.20866
}

Semantic roles & 50–950 ramp

primary
#D04F8B
secondary
#A3D8BF
accent
#E19947
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #D04F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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