#470B1F#470B1F

#470B1F is a dark, moderate pink. Relative luminance 0.017; OKLCH L 26.8% C 0.090 H 6.1°. Best body text is #FFFFFF at 15.72:1 contrast (WCAG AA passes).

Color values

HEX#470B1F
RGBrgb(71, 11, 31)
HSLhsl(340, 73%, 16%)
HSVhsv(340, 85%, 28%)
CMYKcmyk(0%, 84.5%, 56.3%, 72.2%)
CIE-LABlab(13.70, 29.40, 3.65)
CIE-LCHlch(13.70, 29.62, 7.08°)
OKLaboklab(26.77% 0.0898 0.0095)
OKLCHoklch(26.77% 0.09 6.1)
XYZxyz(2.9658, 1.6783, 1.4638)
Luminance0.0168 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#470B1F #0B4733
analogous
#470B3D #470B1F #47150B
triadic
#470B1F #1F470B #0B1F47
tetradic
#470B1F #3D470B #0B4733 #150B47
square
#470B1F #3D470B #0B4733 #150B47
split-complementary
#470B1F #0B4715 #0B3D47
monochromatic
#1A040C #1A040C #470B1F #7C1336 #B11B4D

Accessibility & contrast

On white

15.72
#470B1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#470B1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #470B1F
15.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##470B1F#FFFFFF#000000##FFFFFF
##470B1F1.0015.721.3415.72
#FFFFFF15.721.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A1B1F
Deuteranopia (green-blind)
#2A271E
Tritanopia (blue-blind)
#4E0114
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #470b1f;
/* rgb */ color: rgb(71, 11, 31);
/* oklch */ color: oklch(26.8% 0.090 6.1);
Tailwind
colors: {
  custom: {
    50: '#7e505a',
    500: '#470b1f',
    950: '#000000',
  },
}
SCSS
$custom: #470b1f;
$custom-light: #7e505a;
$custom-dark: #000000;
JSON
{
  "hex": "#470b1f",
  "rgb": {
    "r": 71,
    "g": 11,
    "b": 31
  },
  "hsl": {
    "h": 340,
    "s": 73.171,
    "l": 16.078
  },
  "oklch": {
    "l": 0.26772,
    "c": 0.09027,
    "h": 6.1
  },
  "luminance": 0.01678
}

Semantic roles & 50–950 ramp

primary
#470B1F
secondary
#2A8366
accent
#F0B338
background
#F8F4F5
surface
#EFE7E9
border
#CAC3C5
text
#0A0203
muted
#7C7878

Preview Lab

Preview with #470B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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