#47172A#47172A

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

Color values

HEX#47172A
RGBrgb(71, 23, 42)
HSLhsl(336, 51%, 18%)
HSVhsv(336, 68%, 28%)
CMYKcmyk(0%, 67.6%, 40.8%, 72.2%)
CIE-LABlab(16.10, 25.11, -0.91)
CIE-LCHlch(16.10, 25.13, 357.92°)
OKLaboklab(28.68% 0.0766 -0.0021)
OKLCHoklch(28.68% 0.077 358.5)
XYZxyz(3.3230, 2.1199, 2.4242)
Luminance0.0212 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47172A #174734
analogous
#471742 #47172A #471C17
triadic
#47172A #2A4717 #172A47
tetradic
#47172A #424717 #174734 #1C1747
square
#47172A #424717 #174734 #1C1747
split-complementary
#47172A #17471C #174247
monochromatic
#17070E #19080F #47172A #752645 #A33561

Accessibility & contrast

On white

14.75
#47172A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#47172A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47172A
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47172A#FFFFFF#000000##FFFFFF
##47172A1.0014.751.4214.75
#FFFFFF14.751.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F222B
Deuteranopia (green-blind)
#2C2B29
Tritanopia (blue-blind)
#4D131E
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #47172a;
/* rgb */ color: rgb(71, 23, 42);
/* oklch */ color: oklch(28.7% 0.077 358.5);
Tailwind
colors: {
  custom: {
    50: '#7d5763',
    500: '#47172a',
    950: '#000000',
  },
}
SCSS
$custom: #47172a;
$custom-light: #7d5763;
$custom-dark: #000000;
JSON
{
  "hex": "#47172a",
  "rgb": {
    "r": 71,
    "g": 23,
    "b": 42
  },
  "hsl": {
    "h": 336.25,
    "s": 51.064,
    "l": 18.431
  },
  "oklch": {
    "l": 0.28676,
    "c": 0.07667,
    "h": 358.5
  },
  "luminance": 0.0212
}

Semantic roles & 50–950 ramp

primary
#47172A
secondary
#3C7E64
accent
#DBA34D
background
#F7F5F5
surface
#EEE9EA
border
#C9C5C6
text
#0A0305
muted
#7C7879

Preview Lab

Preview with #47172A

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

Preview Lab → · Contrast checker → · Palette generator →

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