#7B2F17#7B2F17

#7B2F17 is a dark, moderate red. Relative luminance 0.063; OKLCH L 41.0% C 0.112 H 37.6°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#7B2F17
RGBrgb(123, 47, 23)
HSLhsl(14, 68%, 29%)
HSVhsv(14, 81%, 48%)
CMYKcmyk(0%, 61.8%, 81.3%, 51.8%)
CIE-LABlab(30.17, 31.71, 31.29)
CIE-LCHlch(30.17, 44.54, 44.62°)
OKLaboklab(41% 0.0888 0.0684)
OKLCHoklch(41% 0.112 37.6)
XYZxyz(9.3405, 6.3071, 1.5360)
Luminance0.0631 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2F17 #17637B
analogous
#7B1731 #7B2F17 #7B6117
triadic
#7B2F17 #177B2F #2F177B
tetradic
#7B2F17 #317B17 #17637B #61177B
square
#7B2F17 #317B17 #17637B #61177B
split-complementary
#7B2F17 #177B61 #17317B
monochromatic
#1A0A05 #471B0D #7B2F17 #AF4321 #D95B33

Accessibility & contrast

On white

9.29
#7B2F17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#7B2F17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2F17
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2F17#FFFFFF#000000##FFFFFF
##7B2F171.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443C14
Deuteranopia (green-blind)
#574D14
Tritanopia (blue-blind)
#881D2A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7b2f17;
/* rgb */ color: rgb(123, 47, 23);
/* oklch */ color: oklch(41.0% 0.112 37.6);
Tailwind
colors: {
  custom: {
    50: '#a86a56',
    500: '#7b2f17',
    950: '#000000',
  },
}
SCSS
$custom: #7b2f17;
$custom-light: #a86a56;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2f17",
  "rgb": {
    "r": 123,
    "g": 47,
    "b": 23
  },
  "hsl": {
    "h": 14.4,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41004,
    "c": 0.11208,
    "h": 37.6
  },
  "luminance": 0.06306
}

Semantic roles & 50–950 ramp

primary
#7B2F17
secondary
#3E95B0
accent
#C1EB3C
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110703
muted
#807A78

Preview Lab

Preview with #7B2F17

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

Preview Lab → · Contrast checker → · Palette generator →

#7B2F17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva