#470A1F#470A1F

#470A1F is a dark, moderate pink. Relative luminance 0.017; OKLCH L 26.7% C 0.091 H 5.7°. Best body text is #FFFFFF at 15.78:1 contrast (WCAG AA passes).

Color values

HEX#470A1F
RGBrgb(71, 10, 31)
HSLhsl(339, 75%, 16%)
HSVhsv(339, 86%, 28%)
CMYKcmyk(0%, 85.9%, 56.3%, 72.2%)
CIE-LABlab(13.57, 29.77, 3.46)
CIE-LCHlch(13.57, 29.97, 6.63°)
OKLaboklab(26.67% 0.091 0.0091)
OKLCHoklch(26.67% 0.091 5.7)
XYZxyz(2.9547, 1.6560, 1.4601)
Luminance0.0166 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#470A1F #0A4732
analogous
#470A3D #470A1F #47130A
triadic
#470A1F #1F470A #0A1F47
tetradic
#470A1F #3D470A #0A4732 #130A47
square
#470A1F #3D470A #0A4732 #130A47
split-complementary
#470A1F #0A4713 #0A3D47
monochromatic
#1B040C #1B040C #470A1F #7D1236 #B2194E

Accessibility & contrast

On white

15.78
#470A1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#470A1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #470A1F
15.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##470A1F#FFFFFF#000000##FFFFFF
##470A1F1.0015.781.3315.78
#FFFFFF15.781.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#191B1F
Deuteranopia (green-blind)
#29271E
Tritanopia (blue-blind)
#4E0013
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #470a1f;
/* rgb */ color: rgb(71, 10, 31);
/* oklch */ color: oklch(26.7% 0.091 5.7);
Tailwind
colors: {
  custom: {
    50: '#7e505a',
    500: '#470a1f',
    950: '#000000',
  },
}
SCSS
$custom: #470a1f;
$custom-light: #7e505a;
$custom-dark: #000000;
JSON
{
  "hex": "#470a1f",
  "rgb": {
    "r": 71,
    "g": 10,
    "b": 31
  },
  "hsl": {
    "h": 339.344,
    "s": 75.309,
    "l": 15.882
  },
  "oklch": {
    "l": 0.26675,
    "c": 0.09142,
    "h": 5.7
  },
  "luminance": 0.01656
}

Semantic roles & 50–950 ramp

primary
#470A1F
secondary
#298465
accent
#F2B136
background
#F8F4F5
surface
#EFE7E9
border
#CAC3C5
text
#0A0203
muted
#7C7878

Preview Lab

Preview with #470A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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