#47173A#47173A

#47173A is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.4% C 0.087 H 339.6°. Best body text is #FFFFFF at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#47173A
RGBrgb(71, 23, 58)
HSLhsl(316, 51%, 18%)
HSVhsv(316, 68%, 28%)
CMYKcmyk(0%, 67.6%, 18.3%, 72.2%)
CIE-LABlab(16.79, 27.65, -11.28)
CIE-LCHlch(16.79, 29.86, 337.80°)
OKLaboklab(29.41% 0.0818 -0.0304)
OKLCHoklch(29.41% 0.087 339.6)
XYZxyz(3.6687, 2.2582, 4.2448)
Luminance0.0226 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47173A #174724
analogous
#3C1747 #47173A #471722
triadic
#47173A #3A4717 #173A47
tetradic
#47173A #473C17 #174724 #172247
square
#47173A #473C17 #174724 #172247
split-complementary
#47173A #224717 #17473C
monochromatic
#170713 #190814 #47173A #752660 #A33586

Accessibility & contrast

On white

14.47
#47173A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#47173A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #47173A
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47173A#FFFFFF#000000##FFFFFF
##47173A1.0014.471.4514.47
#FFFFFF14.471.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19253B
Deuteranopia (green-blind)
#282C39
Tritanopia (blue-blind)
#4B1826
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #47173a;
/* rgb */ color: rgb(71, 23, 58);
/* oklch */ color: oklch(29.4% 0.087 339.6);
Tailwind
colors: {
  custom: {
    50: '#7c5770',
    500: '#47173a',
    950: '#000000',
  },
}
SCSS
$custom: #47173a;
$custom-light: #7c5770;
$custom-dark: #000000;
JSON
{
  "hex": "#47173a",
  "rgb": {
    "r": 71,
    "g": 23,
    "b": 58
  },
  "hsl": {
    "h": 316.25,
    "s": 51.064,
    "l": 18.431
  },
  "oklch": {
    "l": 0.29406,
    "c": 0.08727,
    "h": 339.6
  },
  "luminance": 0.02258
}

Semantic roles & 50–950 ramp

primary
#47173A
secondary
#3C7E4E
accent
#DB744D
background
#F7F5F6
surface
#EEE9EC
border
#C9C5C7
text
#0A0307
muted
#7C787A

Preview Lab

Preview with #47173A

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

Preview Lab → · Contrast checker → · Palette generator →

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