#470D1F#470D1F

#470D1F is a dark, moderate pink. Relative luminance 0.017; OKLCH L 27.0% C 0.088 H 6.9°. Best body text is #FFFFFF at 15.61:1 contrast (WCAG AA passes).

Color values

HEX#470D1F
RGBrgb(71, 13, 31)
HSLhsl(341, 69%, 16%)
HSVhsv(341, 82%, 28%)
CMYKcmyk(0%, 81.7%, 56.3%, 72.2%)
CIE-LABlab(13.98, 28.60, 4.05)
CIE-LCHlch(13.98, 28.89, 8.06°)
OKLaboklab(26.98% 0.0872 0.0105)
OKLCHoklch(26.98% 0.088 6.9)
XYZxyz(2.9900, 1.7268, 1.4719)
Luminance0.0173 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#470D1F #0D4735
analogous
#470D3C #470D1F #47180D
triadic
#470D1F #1F470D #0D1F47
tetradic
#470D1F #3C470D #0D4735 #180D47
square
#470D1F #3C470D #0D4735 #180D47
split-complementary
#470D1F #0D4718 #0D3C47
monochromatic
#1A050B #1A050B #470D1F #7B1636 #AE204C

Accessibility & contrast

On white

15.61
#470D1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#470D1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #470D1F
15.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##470D1F#FFFFFF#000000##FFFFFF
##470D1F1.0015.611.3515.61
#FFFFFF15.611.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B1C1F
Deuteranopia (green-blind)
#2A281E
Tritanopia (blue-blind)
#4E0315
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #470d1f;
/* rgb */ color: rgb(71, 13, 31);
/* oklch */ color: oklch(27.0% 0.088 6.9);
Tailwind
colors: {
  custom: {
    50: '#7e515a',
    500: '#470d1f',
    950: '#000000',
  },
}
SCSS
$custom: #470d1f;
$custom-light: #7e515a;
$custom-dark: #000000;
JSON
{
  "hex": "#470d1f",
  "rgb": {
    "r": 71,
    "g": 13,
    "b": 31
  },
  "hsl": {
    "h": 341.379,
    "s": 69.048,
    "l": 16.471
  },
  "oklch": {
    "l": 0.26982,
    "c": 0.08785,
    "h": 6.9
  },
  "luminance": 0.01726
}

Semantic roles & 50–950 ramp

primary
#470D1F
secondary
#2D8268
accent
#ECB53C
background
#F8F4F5
surface
#EFE7E9
border
#CAC3C5
text
#0A0203
muted
#7C7878

Preview Lab

Preview with #470D1F

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

Preview Lab → · Contrast checker → · Palette generator →

#470D1F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva