#470822#470822

#470822 is a dark, moderate pink. Relative luminance 0.016; OKLCH L 26.6% C 0.095 H 1.8°. Best body text is #FFFFFF at 15.84:1 contrast (WCAG AA passes).

Color values

HEX#470822
RGBrgb(71, 8, 34)
HSLhsl(335, 80%, 15%)
HSVhsv(335, 89%, 28%)
CMYKcmyk(0%, 88.7%, 52.1%, 72.2%)
CIE-LABlab(13.41, 30.81, 1.00)
CIE-LCHlch(13.41, 30.82, 1.86°)
OKLaboklab(26.59% 0.0946 0.0029)
OKLCHoklch(26.59% 0.095 1.8)
XYZxyz(2.9743, 1.6292, 1.6709)
Luminance0.0163 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#470822 #08472D
analogous
#470841 #470822 #470D08
triadic
#470822 #224708 #082247
tetradic
#470822 #414708 #08472D #0D0847
square
#470822 #414708 #08472D #0D0847
split-complementary
#470822 #08470D #084147
monochromatic
#1C030D #1C030D #470822 #7E0E3C #B51457

Accessibility & contrast

On white

15.84
#470822 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#470822 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #470822
15.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##470822#FFFFFF#000000##FFFFFF
##4708221.0015.841.3315.84
#FFFFFF15.841.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181B23
Deuteranopia (green-blind)
#282721
Tritanopia (blue-blind)
#4E0014
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #470822;
/* rgb */ color: rgb(71, 8, 34);
/* oklch */ color: oklch(26.6% 0.095 1.8);
Tailwind
colors: {
  custom: {
    50: '#7e4f5c',
    500: '#470822',
    950: '#000000',
  },
}
SCSS
$custom: #470822;
$custom-light: #7e4f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#470822",
  "rgb": {
    "r": 71,
    "g": 8,
    "b": 34
  },
  "hsl": {
    "h": 335.238,
    "s": 79.747,
    "l": 15.49
  },
  "oklch": {
    "l": 0.2659,
    "c": 0.09465,
    "h": 1.8
  },
  "luminance": 0.01629
}

Semantic roles & 50–950 ramp

primary
#470822
secondary
#26855E
accent
#F6A532
background
#F8F4F5
surface
#EFE7E9
border
#CAC3C5
text
#0A0204
muted
#7C7879

Preview Lab

Preview with #470822

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

Preview Lab → · Contrast checker → · Palette generator →

#470822 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva