#47172B#47172B

#47172B is a dark, moderate pink. Relative luminance 0.021; OKLCH L 28.7% C 0.077 H 357.2°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#47172B
RGBrgb(71, 23, 43)
HSLhsl(335, 51%, 18%)
HSVhsv(335, 68%, 28%)
CMYKcmyk(0%, 67.6%, 39.4%, 72.2%)
CIE-LABlab(16.14, 25.25, -1.58)
CIE-LCHlch(16.14, 25.30, 356.42°)
OKLaboklab(28.72% 0.077 -0.0038)
OKLCHoklch(28.72% 0.077 357.2)
XYZxyz(3.3412, 2.1272, 2.5197)
Luminance0.0213 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47172B #174733
analogous
#471743 #47172B #471B17
triadic
#47172B #2B4717 #172B47
tetradic
#47172B #434717 #174733 #1B1747
square
#47172B #434717 #174733 #1B1747
split-complementary
#47172B #17471B #174347
monochromatic
#17070E #19080F #47172B #752647 #A33563

Accessibility & contrast

On white

14.73
#47172B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#47172B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47172B
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47172B#FFFFFF#000000##FFFFFF
##47172B1.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F222C
Deuteranopia (green-blind)
#2C2B2A
Tritanopia (blue-blind)
#4D131F
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #47172b;
/* rgb */ color: rgb(71, 23, 43);
/* oklch */ color: oklch(28.7% 0.077 357.2);
Tailwind
colors: {
  custom: {
    50: '#7d5764',
    500: '#47172b',
    950: '#000000',
  },
}
SCSS
$custom: #47172b;
$custom-light: #7d5764;
$custom-dark: #000000;
JSON
{
  "hex": "#47172b",
  "rgb": {
    "r": 71,
    "g": 23,
    "b": 43
  },
  "hsl": {
    "h": 335,
    "s": 51.064,
    "l": 18.431
  },
  "oklch": {
    "l": 0.28715,
    "c": 0.07713,
    "h": 357.2
  },
  "luminance": 0.02127
}

Semantic roles & 50–950 ramp

primary
#47172B
secondary
#3C7E62
accent
#DBA04D
background
#F7F5F5
surface
#EEE9EA
border
#C9C5C6
text
#0A0305
muted
#7C7879

Preview Lab

Preview with #47172B

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

Preview Lab → · Contrast checker → · Palette generator →

#47172B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva