#470838#470838

#470838 is a dark, moderate pink. Relative luminance 0.018; OKLCH L 27.6% C 0.107 H 340.0°. Best body text is #FFFFFF at 15.44:1 contrast (WCAG AA passes).

Color values

HEX#470838
RGBrgb(71, 8, 56)
HSLhsl(314, 80%, 15%)
HSVhsv(314, 89%, 28%)
CMYKcmyk(0%, 88.7%, 21.1%, 72.2%)
CIE-LABlab(14.40, 33.72, -13.57)
CIE-LCHlch(14.40, 36.35, 338.08°)
OKLaboklab(27.63% 0.1008 -0.0367)
OKLCHoklch(27.63% 0.107 340)
XYZxyz(3.3993, 1.7991, 3.9089)
Luminance0.0180 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#470838 #084717
analogous
#360847 #470838 #470818
triadic
#470838 #384708 #083847
tetradic
#470838 #473608 #084717 #081847
square
#470838 #473608 #084717 #081847
split-complementary
#470838 #184708 #084736
monochromatic
#1C0316 #1C0316 #470838 #7E0E63 #B5148F

Accessibility & contrast

On white

15.44
#470838 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#470838 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #470838
15.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##470838#FFFFFF#000000##FFFFFF
##4708381.0015.441.3615.44
#FFFFFF15.441.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D1E39
Deuteranopia (green-blind)
#222837
Tritanopia (blue-blind)
#4C0A1F
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #470838;
/* rgb */ color: rgb(71, 8, 56);
/* oklch */ color: oklch(27.6% 0.107 340.0);
Tailwind
colors: {
  custom: {
    50: '#7d506e',
    500: '#470838',
    950: '#000000',
  },
}
SCSS
$custom: #470838;
$custom-light: #7d506e;
$custom-dark: #000000;
JSON
{
  "hex": "#470838",
  "rgb": {
    "r": 71,
    "g": 8,
    "b": 56
  },
  "hsl": {
    "h": 314.286,
    "s": 79.747,
    "l": 15.49
  },
  "oklch": {
    "l": 0.27631,
    "c": 0.10723,
    "h": 340
  },
  "luminance": 0.01799
}

Semantic roles & 50–950 ramp

primary
#470838
secondary
#26853C
accent
#F66032
background
#F7F4F6
surface
#EEE7EC
border
#C9C3C7
text
#0A0207
muted
#7C787A

Preview Lab

Preview with #470838

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

Preview Lab → · Contrast checker → · Palette generator →

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