#47172F#47172F

#47172F is a dark, moderate pink. Relative luminance 0.022; OKLCH L 28.9% C 0.079 H 352.1°. Best body text is #FFFFFF at 14.67:1 contrast (WCAG AA passes).

Color values

HEX#47172F
RGBrgb(71, 23, 47)
HSLhsl(330, 51%, 18%)
HSVhsv(330, 68%, 28%)
CMYKcmyk(0%, 67.6%, 33.8%, 72.2%)
CIE-LABlab(16.30, 25.84, -4.22)
CIE-LCHlch(16.30, 26.18, 350.73°)
OKLaboklab(28.88% 0.0785 -0.0109)
OKLCHoklch(28.88% 0.079 352.1)
XYZxyz(3.4182, 2.1580, 2.9253)
Luminance0.0216 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#47172F #17472F
analogous
#471747 #47172F #471717
triadic
#47172F #2F4717 #172F47
tetradic
#47172F #474717 #17472F #171747
square
#47172F #474717 #17472F #171747
split-complementary
#47172F #174717 #174747
monochromatic
#17070F #190810 #47172F #75264E #A3356C

Accessibility & contrast

On white

14.67
#47172F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #47172F
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##47172F#FFFFFF#000000##FFFFFF
##47172F1.0014.671.4314.67
#FFFFFF14.671.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2330
Deuteranopia (green-blind)
#2B2C2E
Tritanopia (blue-blind)
#4D1421
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #47172f;
/* rgb */ color: rgb(71, 23, 47);
/* oklch */ color: oklch(28.9% 0.079 352.1);
Tailwind
colors: {
  custom: {
    50: '#7c5767',
    500: '#47172f',
    950: '#000000',
  },
}
SCSS
$custom: #47172f;
$custom-light: #7c5767;
$custom-dark: #000000;
JSON
{
  "hex": "#47172f",
  "rgb": {
    "r": 71,
    "g": 23,
    "b": 47
  },
  "hsl": {
    "h": 330,
    "s": 51.064,
    "l": 18.431
  },
  "oklch": {
    "l": 0.2888,
    "c": 0.07929,
    "h": 352.1
  },
  "luminance": 0.02158
}

Semantic roles & 50–950 ramp

primary
#47172F
secondary
#3C7E5D
accent
#DB944D
background
#F7F5F6
surface
#EEE9EB
border
#C9C5C6
text
#0A0306
muted
#7C787A

Preview Lab

Preview with #47172F

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

Preview Lab → · Contrast checker → · Palette generator →

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