#47173B#47173B

#47173B is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.5% C 0.088 H 338.6°. Best body text is #FFFFFF at 14.45:1 contrast (WCAG AA passes).

Color values

HEX#47173B
RGBrgb(71, 23, 59)
HSLhsl(315, 51%, 18%)
HSVhsv(315, 68%, 28%)
CMYKcmyk(0%, 67.6%, 16.9%, 72.2%)
CIE-LABlab(16.84, 27.83, -11.91)
CIE-LCHlch(16.84, 30.27, 336.83°)
OKLaboklab(29.46% 0.0821 -0.0321)
OKLCHoklch(29.46% 0.088 338.6)
XYZxyz(3.6944, 2.2685, 4.3801)
Luminance0.0227 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47173B #174723
analogous
#3B1747 #47173B #471723
triadic
#47173B #3B4717 #173B47
tetradic
#47173B #473B17 #174723 #172347
square
#47173B #473B17 #174723 #172347
split-complementary
#47173B #234717 #17473B
monochromatic
#170713 #190815 #47173B #752661 #A33588

Accessibility & contrast

On white

14.45
#47173B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #47173B
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47173B#FFFFFF#000000##FFFFFF
##47173B1.0014.451.4514.45
#FFFFFF14.451.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19253C
Deuteranopia (green-blind)
#272C3A
Tritanopia (blue-blind)
#4B1926
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #47173b;
/* rgb */ color: rgb(71, 23, 59);
/* oklch */ color: oklch(29.5% 0.088 338.6);
Tailwind
colors: {
  custom: {
    50: '#7c5771',
    500: '#47173b',
    950: '#000000',
  },
}
SCSS
$custom: #47173b;
$custom-light: #7c5771;
$custom-dark: #000000;
JSON
{
  "hex": "#47173b",
  "rgb": {
    "r": 71,
    "g": 23,
    "b": 59
  },
  "hsl": {
    "h": 315,
    "s": 51.064,
    "l": 18.431
  },
  "oklch": {
    "l": 0.29458,
    "c": 0.08812,
    "h": 338.6
  },
  "luminance": 0.02268
}

Semantic roles & 50–950 ramp

primary
#47173B
secondary
#3C7E4C
accent
#DB714D
background
#F7F5F6
surface
#EEE9EC
border
#C9C5C7
text
#0A0307
muted
#7C787A

Preview Lab

Preview with #47173B

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

Preview Lab → · Contrast checker → · Palette generator →

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