#47172E#47172E

#47172E is a dark, moderate pink. Relative luminance 0.021; OKLCH L 28.8% C 0.079 H 353.4°. Best body text is #FFFFFF at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#47172E
RGBrgb(71, 23, 46)
HSLhsl(331, 51%, 18%)
HSVhsv(331, 68%, 28%)
CMYKcmyk(0%, 67.6%, 35.2%, 72.2%)
CIE-LABlab(16.26, 25.69, -3.56)
CIE-LCHlch(16.26, 25.93, 352.10°)
OKLaboklab(28.84% 0.0782 -0.0091)
OKLCHoklch(28.84% 0.079 353.4)
XYZxyz(3.3982, 2.1500, 2.8203)
Luminance0.0215 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47172E #174730
analogous
#471746 #47172E #471817
triadic
#47172E #2E4717 #172E47
tetradic
#47172E #464717 #174730 #181747
square
#47172E #464717 #174730 #181747
split-complementary
#47172E #174718 #174647
monochromatic
#17070F #190810 #47172E #75264C #A3356A

Accessibility & contrast

On white

14.69
#47172E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #47172E
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47172E#FFFFFF#000000##FFFFFF
##47172E1.0014.691.4314.69
#FFFFFF14.691.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E232F
Deuteranopia (green-blind)
#2B2C2D
Tritanopia (blue-blind)
#4D1420
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #47172e;
/* rgb */ color: rgb(71, 23, 46);
/* oklch */ color: oklch(28.8% 0.079 353.4);
Tailwind
colors: {
  custom: {
    50: '#7c5766',
    500: '#47172e',
    950: '#000000',
  },
}
SCSS
$custom: #47172e;
$custom-light: #7c5766;
$custom-dark: #000000;
JSON
{
  "hex": "#47172e",
  "rgb": {
    "r": 71,
    "g": 23,
    "b": 46
  },
  "hsl": {
    "h": 331.25,
    "s": 51.064,
    "l": 18.431
  },
  "oklch": {
    "l": 0.28838,
    "c": 0.07871,
    "h": 353.4
  },
  "luminance": 0.0215
}

Semantic roles & 50–950 ramp

primary
#47172E
secondary
#3C7E5E
accent
#DB974D
background
#F7F5F6
surface
#EEE9EB
border
#C9C5C6
text
#0A0306
muted
#7C787A

Preview Lab

Preview with #47172E

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

Preview Lab → · Contrast checker → · Palette generator →

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