#470C22#470C22

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

Color values

HEX#470C22
RGBrgb(71, 12, 34)
HSLhsl(338, 71%, 16%)
HSVhsv(338, 83%, 28%)
CMYKcmyk(0%, 83.1%, 52.1%, 72.2%)
CIE-LABlab(13.93, 29.32, 1.76)
CIE-LCHlch(13.93, 29.37, 3.44°)
OKLaboklab(26.98% 0.0898 0.0048)
OKLCHoklch(26.98% 0.09 3.1)
XYZxyz(3.0190, 1.7184, 1.6858)
Luminance0.0172 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#470C22 #0C4731
analogous
#470C40 #470C22 #47140C
triadic
#470C22 #22470C #0C2247
tetradic
#470C22 #40470C #0C4731 #140C47
square
#470C22 #40470C #0C4731 #140C47
split-complementary
#470C22 #0C4714 #0C4047
monochromatic
#1A040D #1A040D #470C22 #7B153B #B01E54

Accessibility & contrast

On white

15.63
#470C22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #470C22
15.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##470C22#FFFFFF#000000##FFFFFF
##470C221.0015.631.3415.63
#FFFFFF15.631.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A1C23
Deuteranopia (green-blind)
#2A2821
Tritanopia (blue-blind)
#4E0315
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #470c22;
/* rgb */ color: rgb(71, 12, 34);
/* oklch */ color: oklch(27.0% 0.090 3.1);
Tailwind
colors: {
  custom: {
    50: '#7e515c',
    500: '#470c22',
    950: '#000000',
  },
}
SCSS
$custom: #470c22;
$custom-light: #7e515c;
$custom-dark: #000000;
JSON
{
  "hex": "#470c22",
  "rgb": {
    "r": 71,
    "g": 12,
    "b": 34
  },
  "hsl": {
    "h": 337.627,
    "s": 71.084,
    "l": 16.275
  },
  "oklch": {
    "l": 0.26977,
    "c": 0.08994,
    "h": 3.1
  },
  "luminance": 0.01718
}

Semantic roles & 50–950 ramp

primary
#470C22
secondary
#2C8362
accent
#EEAB3A
background
#F8F4F5
surface
#EFE7E9
border
#CAC3C5
text
#0A0204
muted
#7C7879

Preview Lab

Preview with #470C22

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

Preview Lab → · Contrast checker → · Palette generator →

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