#46171F#46171F

#46171F is a dark, moderate red. Relative luminance 0.020; OKLCH L 28.1% C 0.072 H 12.7°. Best body text is #FFFFFF at 14.97:1 contrast (WCAG AA passes).

Color values

HEX#46171F
RGBrgb(70, 23, 31)
HSLhsl(350, 51%, 18%)
HSVhsv(350, 67%, 27%)
CMYKcmyk(0%, 67.1%, 55.7%, 72.5%)
CIE-LABlab(15.56, 23.36, 6.23)
CIE-LCHlch(15.56, 24.18, 14.94°)
OKLaboklab(28.12% 0.0706 0.0159)
OKLCHoklch(28.12% 0.072 12.7)
XYZxyz(3.0797, 2.0142, 1.5227)
Luminance0.0201 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46171F #17463E
analogous
#461736 #46171F #462617
triadic
#46171F #1F4617 #171F46
tetradic
#46171F #364617 #17463E #261746
square
#46171F #364617 #17463E #261746
split-complementary
#46171F #174626 #173646
monochromatic
#17080A #18080B #46171F #742633 #A23548

Accessibility & contrast

On white

14.97
#46171F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#46171F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46171F
14.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46171F#FFFFFF#000000##FFFFFF
##46171F1.0014.971.4014.97
#FFFFFF14.971.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21211F
Deuteranopia (green-blind)
#2D2A1E
Tritanopia (blue-blind)
#4D101A
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #46171f;
/* rgb */ color: rgb(70, 23, 31);
/* oklch */ color: oklch(28.1% 0.072 12.7);
Tailwind
colors: {
  custom: {
    50: '#7d565a',
    500: '#46171f',
    950: '#000000',
  },
}
SCSS
$custom: #46171f;
$custom-light: #7d565a;
$custom-dark: #000000;
JSON
{
  "hex": "#46171f",
  "rgb": {
    "r": 70,
    "g": 23,
    "b": 31
  },
  "hsl": {
    "h": 349.787,
    "s": 50.538,
    "l": 18.235
  },
  "oklch": {
    "l": 0.28118,
    "c": 0.07239,
    "h": 12.7
  },
  "luminance": 0.02014
}

Semantic roles & 50–950 ramp

primary
#46171F
secondary
#3C7D72
accent
#DAC24E
background
#F7F5F5
surface
#EEE9E9
border
#C9C5C5
text
#0A0303
muted
#7C7878

Preview Lab

Preview with #46171F

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

Preview Lab → · Contrast checker → · Palette generator →

#46171F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva