#470C38#470C38

#470C38 is a dark, moderate pink. Relative luminance 0.019; OKLCH L 28.0% C 0.102 H 340.3°. Best body text is #FFFFFF at 15.24:1 contrast (WCAG AA passes).

Color values

HEX#470C38
RGBrgb(71, 12, 56)
HSLhsl(315, 71%, 16%)
HSVhsv(315, 83%, 28%)
CMYKcmyk(0%, 83.1%, 21.1%, 72.2%)
CIE-LABlab(14.89, 32.30, -12.80)
CIE-LCHlch(14.89, 34.75, 338.38°)
OKLaboklab(27.99% 0.0965 -0.0345)
OKLCHoklch(27.99% 0.102 340.3)
XYZxyz(3.4439, 1.8884, 3.9237)
Luminance0.0189 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#470C38 #0C471B
analogous
#390C47 #470C38 #470C1B
triadic
#470C38 #38470C #0C3847
tetradic
#470C38 #47390C #0C471B #0C1B47
square
#470C38 #47390C #0C471B #0C1B47
split-complementary
#470C38 #1B470C #0C4739
monochromatic
#1A0415 #1A0415 #470C38 #7B1561 #B01E8B

Accessibility & contrast

On white

15.24
#470C38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#470C38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #470C38
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##470C38#FFFFFF#000000##FFFFFF
##470C381.0015.241.3815.24
#FFFFFF15.241.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101F39
Deuteranopia (green-blind)
#242937
Tritanopia (blue-blind)
#4C0E21
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #470c38;
/* rgb */ color: rgb(71, 12, 56);
/* oklch */ color: oklch(28.0% 0.102 340.3);
Tailwind
colors: {
  custom: {
    50: '#7d526e',
    500: '#470c38',
    950: '#000000',
  },
}
SCSS
$custom: #470c38;
$custom-light: #7d526e;
$custom-dark: #000000;
JSON
{
  "hex": "#470c38",
  "rgb": {
    "r": 71,
    "g": 12,
    "b": 56
  },
  "hsl": {
    "h": 315.254,
    "s": 71.084,
    "l": 16.275
  },
  "oklch": {
    "l": 0.27988,
    "c": 0.10246,
    "h": 340.3
  },
  "luminance": 0.01888
}

Semantic roles & 50–950 ramp

primary
#470C38
secondary
#2C8342
accent
#EE683A
background
#F7F4F6
surface
#EEE7EC
border
#C9C3C7
text
#0A0207
muted
#7C787A

Preview Lab

Preview with #470C38

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

Preview Lab → · Contrast checker → · Palette generator →

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