#470F1F#470F1F

#470F1F is a dark, moderate pink. Relative luminance 0.018; OKLCH L 27.2% C 0.085 H 7.8°. Best body text is #FFFFFF at 15.49:1 contrast (WCAG AA passes).

Color values

HEX#470F1F
RGBrgb(71, 15, 31)
HSLhsl(343, 65%, 17%)
HSVhsv(343, 79%, 28%)
CMYKcmyk(0%, 78.9%, 56.3%, 72.2%)
CIE-LABlab(14.29, 27.75, 4.49)
CIE-LCHlch(14.29, 28.11, 9.18°)
OKLaboklab(27.21% 0.0845 0.0116)
OKLCHoklch(27.21% 0.085 7.8)
XYZxyz(3.0169, 1.7806, 1.4809)
Luminance0.0178 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#470F1F #0F4737
analogous
#470F3B #470F1F #471B0F
triadic
#470F1F #1F470F #0F1F47
tetradic
#470F1F #3B470F #0F4737 #1B0F47
square
#470F1F #3B470F #0F4737 #1B0F47
split-complementary
#470F1F #0F471B #0F3B47
monochromatic
#19050B #19050B #470F1F #7A1A35 #AC244B

Accessibility & contrast

On white

15.49
#470F1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#470F1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #470F1F
15.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##470F1F#FFFFFF#000000##FFFFFF
##470F1F1.0015.491.3615.49
#FFFFFF15.491.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C1D1F
Deuteranopia (green-blind)
#2B281E
Tritanopia (blue-blind)
#4E0516
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #470f1f;
/* rgb */ color: rgb(71, 15, 31);
/* oklch */ color: oklch(27.2% 0.085 7.8);
Tailwind
colors: {
  custom: {
    50: '#7e525a',
    500: '#470f1f',
    950: '#000000',
  },
}
SCSS
$custom: #470f1f;
$custom-light: #7e525a;
$custom-dark: #000000;
JSON
{
  "hex": "#470f1f",
  "rgb": {
    "r": 71,
    "g": 15,
    "b": 31
  },
  "hsl": {
    "h": 342.857,
    "s": 65.116,
    "l": 16.863
  },
  "oklch": {
    "l": 0.2721,
    "c": 0.08526,
    "h": 7.8
  },
  "luminance": 0.0178
}

Semantic roles & 50–950 ramp

primary
#470F1F
secondary
#30816A
accent
#E8B840
background
#F8F4F5
surface
#EFE7E9
border
#CAC3C5
text
#0A0203
muted
#7C7878

Preview Lab

Preview with #470F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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