#70271B#70271B

#70271B is a dark, moderate red. Relative luminance 0.050; OKLCH L 38.0% C 0.106 H 31.7°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#70271B
RGBrgb(112, 39, 27)
HSLhsl(8, 61%, 27%)
HSVhsv(8, 76%, 44%)
CMYKcmyk(0%, 65.2%, 75.9%, 56.1%)
CIE-LABlab(26.67, 31.56, 24.61)
CIE-LCHlch(26.67, 40.02, 37.95°)
OKLaboklab(37.98% 0.0904 0.0558)
OKLCHoklch(37.98% 0.106 31.7)
XYZxyz(7.6062, 4.9760, 1.5966)
Luminance0.0498 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70271B #1B6470
analogous
#701B39 #70271B #70521B
triadic
#70271B #1B7027 #271B70
tetradic
#70271B #39701B #1B6470 #521B70
square
#70271B #39701B #1B6470 #521B70
split-complementary
#70271B #1B7052 #1B3970
monochromatic
#190906 #3F160F #70271B #A13827 #CF4C37

Accessibility & contrast

On white

10.53
#70271B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#70271B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #70271B
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70271B#FFFFFF#000000##FFFFFF
##70271B1.0010.532.0010.53
#FFFFFF10.531.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3519
Deuteranopia (green-blind)
#4D4519
Tritanopia (blue-blind)
#7C1625
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #70271b;
/* rgb */ color: rgb(112, 39, 27);
/* oklch */ color: oklch(38.0% 0.106 31.7);
Tailwind
colors: {
  custom: {
    50: '#9f6558',
    500: '#70271b',
    950: '#000000',
  },
}
SCSS
$custom: #70271b;
$custom-light: #9f6558;
$custom-dark: #000000;
JSON
{
  "hex": "#70271b",
  "rgb": {
    "r": 112,
    "g": 39,
    "b": 27
  },
  "hsl": {
    "h": 8.471,
    "s": 61.151,
    "l": 27.255
  },
  "oklch": {
    "l": 0.37983,
    "c": 0.10622,
    "h": 31.7
  },
  "luminance": 0.04975
}

Semantic roles & 50–950 ramp

primary
#70271B
secondary
#4297A5
accent
#CEE444
background
#FAF6F5
surface
#F4EBE9
border
#CEC6C5
text
#100603
muted
#7F7A78

Preview Lab

Preview with #70271B

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

Preview Lab → · Contrast checker → · Palette generator →

#70271B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva