#47173E#47173E

#47173E is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.6% C 0.091 H 335.6°. Best body text is #FFFFFF at 14.38:1 contrast (WCAG AA passes).

Color values

HEX#47173E
RGBrgb(71, 23, 62)
HSLhsl(311, 51%, 18%)
HSVhsv(311, 68%, 28%)
CMYKcmyk(0%, 67.6%, 12.7%, 72.2%)
CIE-LABlab(16.99, 28.38, -13.78)
CIE-LCHlch(16.99, 31.55, 334.10°)
OKLaboklab(29.62% 0.0827 -0.0374)
OKLCHoklch(29.62% 0.091 335.6)
XYZxyz(3.7745, 2.3005, 4.8017)
Luminance0.0230 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47173E #174720
analogous
#381747 #47173E #471726
triadic
#47173E #3E4717 #173E47
tetradic
#47173E #473817 #174720 #172647
square
#47173E #473817 #174720 #172647
split-complementary
#47173E #264717 #174738
monochromatic
#170714 #190816 #47173E #752666 #A3358F

Accessibility & contrast

On white

14.38
#47173E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #47173E
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47173E#FFFFFF#000000##FFFFFF
##47173E1.0014.381.4614.38
#FFFFFF14.381.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17253F
Deuteranopia (green-blind)
#262C3D
Tritanopia (blue-blind)
#4B1A28
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #47173e;
/* rgb */ color: rgb(71, 23, 62);
/* oklch */ color: oklch(29.6% 0.091 335.6);
Tailwind
colors: {
  custom: {
    50: '#7c5873',
    500: '#47173e',
    950: '#000000',
  },
}
SCSS
$custom: #47173e;
$custom-light: #7c5873;
$custom-dark: #000000;
JSON
{
  "hex": "#47173e",
  "rgb": {
    "r": 71,
    "g": 23,
    "b": 62
  },
  "hsl": {
    "h": 311.25,
    "s": 51.064,
    "l": 18.431
  },
  "oklch": {
    "l": 0.29621,
    "c": 0.09076,
    "h": 335.6
  },
  "luminance": 0.023
}

Semantic roles & 50–950 ramp

primary
#47173E
secondary
#3C7E48
accent
#DB684D
background
#F7F5F7
surface
#EEE9ED
border
#C9C5C8
text
#0A0308
muted
#7C787B

Preview Lab

Preview with #47173E

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

Preview Lab → · Contrast checker → · Palette generator →

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