#470C1F#470C1F

#470C1F is a dark, moderate pink. Relative luminance 0.017; OKLCH L 26.9% C 0.089 H 6.5°. Best body text is #FFFFFF at 15.67:1 contrast (WCAG AA passes).

Color values

HEX#470C1F
RGBrgb(71, 12, 31)
HSLhsl(341, 71%, 16%)
HSVhsv(341, 83%, 28%)
CMYKcmyk(0%, 83.1%, 56.3%, 72.2%)
CIE-LABlab(13.84, 29.01, 3.85)
CIE-LCHlch(13.84, 29.26, 7.55°)
OKLaboklab(26.88% 0.0885 0.01)
OKLCHoklch(26.88% 0.089 6.5)
XYZxyz(2.9776, 1.7019, 1.4678)
Luminance0.0170 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#470C1F #0C4734
analogous
#470C3D #470C1F #47170C
triadic
#470C1F #1F470C #0C1F47
tetradic
#470C1F #3D470C #0C4734 #170C47
square
#470C1F #3D470C #0C4734 #170C47
split-complementary
#470C1F #0C4717 #0C3D47
monochromatic
#1A040B #1A040B #470C1F #7B1536 #B01E4D

Accessibility & contrast

On white

15.67
#470C1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #470C1F
15.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##470C1F#FFFFFF#000000##FFFFFF
##470C1F1.0015.671.3415.67
#FFFFFF15.671.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #470c1f;
/* rgb */ color: rgb(71, 12, 31);
/* oklch */ color: oklch(26.9% 0.089 6.5);
Tailwind
colors: {
  custom: {
    50: '#7e515a',
    500: '#470c1f',
    950: '#000000',
  },
}
SCSS
$custom: #470c1f;
$custom-light: #7e515a;
$custom-dark: #000000;
JSON
{
  "hex": "#470c1f",
  "rgb": {
    "r": 71,
    "g": 12,
    "b": 31
  },
  "hsl": {
    "h": 340.678,
    "s": 71.084,
    "l": 16.275
  },
  "oklch": {
    "l": 0.26875,
    "c": 0.08909,
    "h": 6.5
  },
  "luminance": 0.01701
}

Semantic roles & 50–950 ramp

primary
#470C1F
secondary
#2C8367
accent
#EEB43A
background
#F8F4F5
surface
#EFE7E9
border
#CAC3C5
text
#0A0203
muted
#7C7878

Preview Lab

Preview with #470C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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