#470D21#470D21

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

Color values

HEX#470D21
RGBrgb(71, 13, 33)
HSLhsl(339, 69%, 16%)
HSVhsv(339, 82%, 28%)
CMYKcmyk(0%, 81.7%, 53.5%, 72.2%)
CIE-LABlab(14.05, 28.81, 2.66)
CIE-LCHlch(14.05, 28.93, 5.28°)
OKLaboklab(27.05% 0.0881 0.0071)
OKLCHoklch(27.05% 0.088 4.6)
XYZxyz(3.0172, 1.7376, 1.6151)
Luminance0.0174 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#470D21 #0D4733
analogous
#470D3E #470D21 #47160D
triadic
#470D21 #21470D #0D2147
tetradic
#470D21 #3E470D #0D4733 #160D47
square
#470D21 #3E470D #0D4733 #160D47
split-complementary
#470D21 #0D4716 #0D3E47
monochromatic
#1A050C #1A050C #470D21 #7B1639 #AE2051

Accessibility & contrast

On white

15.59
#470D21 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#470D21 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #470D21
15.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##470D21#FFFFFF#000000##FFFFFF
##470D211.0015.591.3515.59
#FFFFFF15.591.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B1C21
Deuteranopia (green-blind)
#2A2820
Tritanopia (blue-blind)
#4E0315
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #470d21;
/* rgb */ color: rgb(71, 13, 33);
/* oklch */ color: oklch(27.0% 0.088 4.6);
Tailwind
colors: {
  custom: {
    50: '#7e515b',
    500: '#470d21',
    950: '#000000',
  },
}
SCSS
$custom: #470d21;
$custom-light: #7e515b;
$custom-dark: #000000;
JSON
{
  "hex": "#470d21",
  "rgb": {
    "r": 71,
    "g": 13,
    "b": 33
  },
  "hsl": {
    "h": 339.31,
    "s": 69.048,
    "l": 16.471
  },
  "oklch": {
    "l": 0.27049,
    "c": 0.08837,
    "h": 4.6
  },
  "luminance": 0.01737
}

Semantic roles & 50–950 ramp

primary
#470D21
secondary
#2D8265
accent
#ECAF3C
background
#F8F4F5
surface
#EFE7E9
border
#CAC3C5
text
#0A0204
muted
#7C7879

Preview Lab

Preview with #470D21

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

Preview Lab → · Contrast checker → · Palette generator →

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