#470C26#470C26

#470C26 is a dark, moderate pink. Relative luminance 0.017; OKLCH L 27.1% C 0.091 H 358.6°. Best body text is #FFFFFF at 15.57:1 contrast (WCAG AA passes).

Color values

HEX#470C26
RGBrgb(71, 12, 38)
HSLhsl(334, 71%, 16%)
HSVhsv(334, 83%, 28%)
CMYKcmyk(0%, 83.1%, 46.5%, 72.2%)
CIE-LABlab(14.08, 29.77, -0.98)
CIE-LCHlch(14.08, 29.79, 358.11°)
OKLaboklab(27.13% 0.0914 -0.0022)
OKLCHoklch(27.13% 0.091 358.6)
XYZxyz(3.0801, 1.7429, 2.0076)
Luminance0.0174 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#470C26 #0C472D
analogous
#470C44 #470C26 #47100C
triadic
#470C26 #26470C #0C2647
tetradic
#470C26 #44470C #0C472D #100C47
square
#470C26 #44470C #0C472D #100C47
split-complementary
#470C26 #0C4710 #0C4447
monochromatic
#1A040E #1A040E #470C26 #7B1542 #B01E5E

Accessibility & contrast

On white

15.57
#470C26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #470C26
15.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##470C26#FFFFFF#000000##FFFFFF
##470C261.0015.571.3515.57
#FFFFFF15.571.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#191D27
Deuteranopia (green-blind)
#292825
Tritanopia (blue-blind)
#4E0417
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #470c26;
/* rgb */ color: rgb(71, 12, 38);
/* oklch */ color: oklch(27.1% 0.091 358.6);
Tailwind
colors: {
  custom: {
    50: '#7e5160',
    500: '#470c26',
    950: '#000000',
  },
}
SCSS
$custom: #470c26;
$custom-light: #7e5160;
$custom-dark: #000000;
JSON
{
  "hex": "#470c26",
  "rgb": {
    "r": 71,
    "g": 12,
    "b": 38
  },
  "hsl": {
    "h": 333.559,
    "s": 71.084,
    "l": 16.275
  },
  "oklch": {
    "l": 0.27127,
    "c": 0.09145,
    "h": 358.6
  },
  "luminance": 0.01742
}

Semantic roles & 50–950 ramp

primary
#470C26
secondary
#2C835D
accent
#EE9F3A
background
#F7F4F5
surface
#EEE7E9
border
#C9C3C5
text
#0A0204
muted
#7C7879

Preview Lab

Preview with #470C26

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

Preview Lab → · Contrast checker → · Palette generator →

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