#470C27#470C27

#470C27 is a dark, moderate pink. Relative luminance 0.017; OKLCH L 27.2% C 0.092 H 357.5°. Best body text is #FFFFFF at 15.56:1 contrast (WCAG AA passes).

Color values

HEX#470C27
RGBrgb(71, 12, 39)
HSLhsl(333, 71%, 16%)
HSVhsv(333, 83%, 28%)
CMYKcmyk(0%, 83.1%, 45.1%, 72.2%)
CIE-LABlab(14.11, 29.89, -1.66)
CIE-LCHlch(14.11, 29.94, 356.82°)
OKLaboklab(27.17% 0.0918 -0.004)
OKLCHoklch(27.17% 0.092 357.5)
XYZxyz(3.0964, 1.7494, 2.0937)
Luminance0.0175 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#470C27 #0C472C
analogous
#470C45 #470C27 #470F0C
triadic
#470C27 #27470C #0C2747
tetradic
#470C27 #45470C #0C472C #0F0C47
square
#470C27 #45470C #0C472C #0F0C47
split-complementary
#470C27 #0C470F #0C4547
monochromatic
#1A040E #1A040E #470C27 #7B1544 #B01E61

Accessibility & contrast

On white

15.56
#470C27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #470C27
15.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##470C27#FFFFFF#000000##FFFFFF
##470C271.0015.561.3515.56
#FFFFFF15.561.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181D28
Deuteranopia (green-blind)
#282826
Tritanopia (blue-blind)
#4E0518
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #470c27;
/* rgb */ color: rgb(71, 12, 39);
/* oklch */ color: oklch(27.2% 0.092 357.5);
Tailwind
colors: {
  custom: {
    50: '#7e5160',
    500: '#470c27',
    950: '#000000',
  },
}
SCSS
$custom: #470c27;
$custom-light: #7e5160;
$custom-dark: #000000;
JSON
{
  "hex": "#470c27",
  "rgb": {
    "r": 71,
    "g": 12,
    "b": 39
  },
  "hsl": {
    "h": 332.542,
    "s": 71.084,
    "l": 16.275
  },
  "oklch": {
    "l": 0.27167,
    "c": 0.09189,
    "h": 357.5
  },
  "luminance": 0.01749
}

Semantic roles & 50–950 ramp

primary
#470C27
secondary
#2C835B
accent
#EE9C3A
background
#F7F4F5
surface
#EEE7E9
border
#C9C3C5
text
#0A0205
muted
#7C7879

Preview Lab

Preview with #470C27

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

Preview Lab → · Contrast checker → · Palette generator →

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