#47173F#47173F

#47173F is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.7% C 0.092 H 334.7°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#47173F
RGBrgb(71, 23, 63)
HSLhsl(310, 51%, 18%)
HSVhsv(310, 68%, 28%)
CMYKcmyk(0%, 67.6%, 11.3%, 72.2%)
CIE-LABlab(17.04, 28.57, -14.40)
CIE-LCHlch(17.04, 31.99, 333.26°)
OKLaboklab(29.68% 0.0829 -0.0392)
OKLCHoklch(29.68% 0.092 334.7)
XYZxyz(3.8022, 2.3116, 4.9476)
Luminance0.0231 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47173F #17471F
analogous
#371747 #47173F #471727
triadic
#47173F #3F4717 #173F47
tetradic
#47173F #473717 #17471F #172747
square
#47173F #473717 #17471F #172747
split-complementary
#47173F #274717 #174737
monochromatic
#170715 #190816 #47173F #752668 #A33591

Accessibility & contrast

On white

14.36
#47173F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#47173F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47173F
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47173F#FFFFFF#000000##FFFFFF
##47173F1.0014.361.4614.36
#FFFFFF14.361.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172540
Deuteranopia (green-blind)
#262D3E
Tritanopia (blue-blind)
#4B1A28
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #47173f;
/* rgb */ color: rgb(71, 23, 63);
/* oklch */ color: oklch(29.7% 0.092 334.7);
Tailwind
colors: {
  custom: {
    50: '#7c5874',
    500: '#47173f',
    950: '#000000',
  },
}
SCSS
$custom: #47173f;
$custom-light: #7c5874;
$custom-dark: #000000;
JSON
{
  "hex": "#47173f",
  "rgb": {
    "r": 71,
    "g": 23,
    "b": 63
  },
  "hsl": {
    "h": 310,
    "s": 51.064,
    "l": 18.431
  },
  "oklch": {
    "l": 0.29677,
    "c": 0.09167,
    "h": 334.7
  },
  "luminance": 0.02311
}

Semantic roles & 50–950 ramp

primary
#47173F
secondary
#3C7E47
accent
#DB654D
background
#F7F5F7
surface
#EEE9ED
border
#C9C5C8
text
#0A0308
muted
#7C787B

Preview Lab

Preview with #47173F

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

Preview Lab → · Contrast checker → · Palette generator →

#47173F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva