#470B31#470B31

#470B31 is a dark, moderate pink. Relative luminance 0.018; OKLCH L 27.5% C 0.099 H 346.8°. Best body text is #FFFFFF at 15.44:1 contrast (WCAG AA passes).

Color values

HEX#470B31
RGBrgb(71, 11, 49)
HSLhsl(322, 73%, 16%)
HSVhsv(322, 85%, 28%)
CMYKcmyk(0%, 84.5%, 31%, 72.2%)
CIE-LABlab(14.41, 31.60, -8.52)
CIE-LCHlch(14.41, 32.73, 344.92°)
OKLaboklab(27.52% 0.0961 -0.0225)
OKLCHoklch(27.52% 0.099 346.8)
XYZxyz(3.2727, 1.8011, 3.0804)
Luminance0.0180 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#470B31 #0B4721
analogous
#3F0B47 #470B31 #470B13
triadic
#470B31 #31470B #0B3147
tetradic
#470B31 #473F0B #0B4721 #0B1347
square
#470B31 #473F0B #0B4721 #0B1347
split-complementary
#470B31 #13470B #0B473F
monochromatic
#1A0412 #1A0412 #470B31 #7C1356 #B11B7A

Accessibility & contrast

On white

15.44
#470B31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #470B31
15.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##470B31#FFFFFF#000000##FFFFFF
##470B311.0015.441.3615.44
#FFFFFF15.441.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141E32
Deuteranopia (green-blind)
#262830
Tritanopia (blue-blind)
#4D091C
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #470b31;
/* rgb */ color: rgb(71, 11, 49);
/* oklch */ color: oklch(27.5% 0.099 346.8);
Tailwind
colors: {
  custom: {
    50: '#7d5169',
    500: '#470b31',
    950: '#000000',
  },
}
SCSS
$custom: #470b31;
$custom-light: #7d5169;
$custom-dark: #000000;
JSON
{
  "hex": "#470b31",
  "rgb": {
    "r": 71,
    "g": 11,
    "b": 49
  },
  "hsl": {
    "h": 322,
    "s": 73.171,
    "l": 16.078
  },
  "oklch": {
    "l": 0.27522,
    "c": 0.09874,
    "h": 346.8
  },
  "luminance": 0.01801
}

Semantic roles & 50–950 ramp

primary
#470B31
secondary
#2A834B
accent
#F07B38
background
#F7F4F6
surface
#EEE7EB
border
#C9C3C6
text
#0A0206
muted
#7C787A

Preview Lab

Preview with #470B31

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

Preview Lab → · Contrast checker → · Palette generator →

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