#D04273#D04273

#D04273 is a mid, vivid pink. Relative luminance 0.185; OKLCH L 59.4% C 0.181 H 3.4°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#D04273
RGBrgb(208, 66, 115)
HSLhsl(339, 60%, 54%)
HSVhsv(339, 68%, 82%)
CMYKcmyk(0%, 68.3%, 44.7%, 18.4%)
CIE-LABlab(50.15, 59.24, 3.97)
CIE-LCHlch(50.15, 59.37, 3.83°)
OKLaboklab(59.39% 0.1811 0.0109)
OKLCHoklch(59.39% 0.181 3.4)
XYZxyz(31.0575, 18.5480, 18.1610)
Luminance0.1854 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D04273 #42D09F
analogous
#D042BA #D04273 #D05842
triadic
#D04273 #73D042 #4273D0
tetradic
#D04273 #BAD042 #42D09F #5842D0
square
#D04273 #BAD042 #42D09F #5842D0
split-complementary
#D04273 #42D058 #42BAD0
monochromatic
#791E3E #AA2A57 #D04273 #DC7397 #E8A4BC

Accessibility & contrast

On white

4.46
#D04273 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#D04273 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D04273
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D04273#FFFFFF#000000##000000
##D042731.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#616674
Deuteranopia (green-blind)
#868270
Tritanopia (blue-blind)
#E22D56
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #d04273;
/* rgb */ color: rgb(208, 66, 115);
/* oklch */ color: oklch(59.4% 0.181 3.4);
Tailwind
colors: {
  custom: {
    50: '#e4809b',
    500: '#d04273',
    950: '#000000',
  },
}
SCSS
$custom: #d04273;
$custom-light: #e4809b;
$custom-dark: #000000;
JSON
{
  "hex": "#d04273",
  "rgb": {
    "r": 208,
    "g": 66,
    "b": 115
  },
  "hsl": {
    "h": 339.296,
    "s": 60.169,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59385,
    "c": 0.18145,
    "h": 3.4
  },
  "luminance": 0.18544
}

Semantic roles & 50–950 ramp

primary
#D04273
secondary
#99D5C0
accent
#E3AD44
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#170B0E
muted
#857C7E

Preview Lab

Preview with #D04273

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

Preview Lab → · Contrast checker → · Palette generator →

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