#470F38#470F38

#470F38 is a dark, moderate pink. Relative luminance 0.020; OKLCH L 28.3% C 0.098 H 340.6°. Best body text is #FFFFFF at 15.07:1 contrast (WCAG AA passes).

Color values

HEX#470F38
RGBrgb(71, 15, 56)
HSLhsl(316, 65%, 17%)
HSVhsv(316, 79%, 28%)
CMYKcmyk(0%, 78.9%, 21.1%, 72.2%)
CIE-LABlab(15.31, 31.11, -12.15)
CIE-LCHlch(15.31, 33.40, 338.67°)
OKLaboklab(28.3% 0.0928 -0.0327)
OKLCHoklch(28.3% 0.098 340.6)
XYZxyz(3.4833, 1.9671, 3.9369)
Luminance0.0197 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#470F38 #0F471E
analogous
#3A0F47 #470F38 #470F1C
triadic
#470F38 #38470F #0F3847
tetradic
#470F38 #473A0F #0F471E #0F1C47
square
#470F38 #473A0F #0F471E #0F1C47
split-complementary
#470F38 #1C470F #0F473A
monochromatic
#190514 #190514 #470F38 #7A1A60 #AC2488

Accessibility & contrast

On white

15.07
#470F38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#470F38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #470F38
15.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##470F38#FFFFFF#000000##FFFFFF
##470F381.0015.071.3915.07
#FFFFFF15.071.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132139
Deuteranopia (green-blind)
#252A37
Tritanopia (blue-blind)
#4C1022
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #470f38;
/* rgb */ color: rgb(71, 15, 56);
/* oklch */ color: oklch(28.3% 0.098 340.6);
Tailwind
colors: {
  custom: {
    50: '#7d536e',
    500: '#470f38',
    950: '#000000',
  },
}
SCSS
$custom: #470f38;
$custom-light: #7d536e;
$custom-dark: #000000;
JSON
{
  "hex": "#470f38",
  "rgb": {
    "r": 71,
    "g": 15,
    "b": 56
  },
  "hsl": {
    "h": 316.071,
    "s": 65.116,
    "l": 16.863
  },
  "oklch": {
    "l": 0.28295,
    "c": 0.09843,
    "h": 340.6
  },
  "luminance": 0.01967
}

Semantic roles & 50–950 ramp

primary
#470F38
secondary
#308146
accent
#E86D40
background
#F7F4F6
surface
#EEE8EC
border
#C9C4C7
text
#0A0307
muted
#7C787A

Preview Lab

Preview with #470F38

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

Preview Lab → · Contrast checker → · Palette generator →

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