#470C1B#470C1B

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

Color values

HEX#470C1B
RGBrgb(71, 12, 27)
HSLhsl(345, 71%, 16%)
HSVhsv(345, 83%, 28%)
CMYKcmyk(0%, 83.1%, 62%, 72.2%)
CIE-LABlab(13.72, 28.63, 6.65)
CIE-LCHlch(13.72, 29.39, 13.07°)
OKLaboklab(26.75% 0.0867 0.0167)
OKLCHoklch(26.75% 0.088 10.9)
XYZxyz(2.9281, 1.6821, 1.2072)
Luminance0.0168 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#470C1B #0C4738
analogous
#470C39 #470C1B #471B0C
triadic
#470C1B #1B470C #0C1B47
tetradic
#470C1B #39470C #0C4738 #1B0C47
square
#470C1B #39470C #0C4738 #1B0C47
split-complementary
#470C1B #0C471B #0C3947
monochromatic
#1A040A #1A040A #470C1B #7B152F #B01E43

Accessibility & contrast

On white

15.71
#470C1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #470C1B
15.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##470C1B#FFFFFF#000000##FFFFFF
##470C1B1.0015.711.3415.71
#FFFFFF15.711.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B1B1B
Deuteranopia (green-blind)
#2B271A
Tritanopia (blue-blind)
#4E0012
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #470c1b;
/* rgb */ color: rgb(71, 12, 27);
/* oklch */ color: oklch(26.8% 0.088 10.9);
Tailwind
colors: {
  custom: {
    50: '#7f5156',
    500: '#470c1b',
    950: '#000000',
  },
}
SCSS
$custom: #470c1b;
$custom-light: #7f5156;
$custom-dark: #000000;
JSON
{
  "hex": "#470c1b",
  "rgb": {
    "r": 71,
    "g": 12,
    "b": 27
  },
  "hsl": {
    "h": 344.746,
    "s": 71.084,
    "l": 16.275
  },
  "oklch": {
    "l": 0.26751,
    "c": 0.08831,
    "h": 10.9
  },
  "luminance": 0.01682
}

Semantic roles & 50–950 ramp

primary
#470C1B
secondary
#2C836D
accent
#EEC03A
background
#F8F4F5
surface
#EFE7E9
border
#CAC3C5
text
#0B0203
muted
#7C7878

Preview Lab

Preview with #470C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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