#7B2D17#7B2D17

#7B2D17 is a dark, moderate red. Relative luminance 0.061; OKLCH L 40.7% C 0.114 H 36.3°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#7B2D17
RGBrgb(123, 45, 23)
HSLhsl(13, 68%, 29%)
HSVhsv(13, 81%, 48%)
CMYKcmyk(0%, 63.4%, 81.3%, 51.8%)
CIE-LABlab(29.79, 32.72, 30.90)
CIE-LCHlch(29.79, 45.00, 43.36°)
OKLaboklab(40.71% 0.0919 0.0675)
OKLCHoklch(40.71% 0.114 36.3)
XYZxyz(9.2624, 6.1509, 1.5100)
Luminance0.0615 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2D17 #17657B
analogous
#7B1733 #7B2D17 #7B5F17
triadic
#7B2D17 #177B2D #2D177B
tetradic
#7B2D17 #337B17 #17657B #5F177B
square
#7B2D17 #337B17 #17657B #5F177B
split-complementary
#7B2D17 #177B5F #17337B
monochromatic
#1A0905 #471A0D #7B2D17 #AF4021 #D95833

Accessibility & contrast

On white

9.42
#7B2D17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#7B2D17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2D17
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2D17#FFFFFF#000000##FFFFFF
##7B2D171.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B14
Deuteranopia (green-blind)
#564D14
Tritanopia (blue-blind)
#881A28
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7b2d17;
/* rgb */ color: rgb(123, 45, 23);
/* oklch */ color: oklch(40.7% 0.114 36.3);
Tailwind
colors: {
  custom: {
    50: '#a86955',
    500: '#7b2d17',
    950: '#000000',
  },
}
SCSS
$custom: #7b2d17;
$custom-light: #a86955;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2d17",
  "rgb": {
    "r": 123,
    "g": 45,
    "b": 23
  },
  "hsl": {
    "h": 13.2,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40714,
    "c": 0.11407,
    "h": 36.3
  },
  "luminance": 0.0615
}

Semantic roles & 50–950 ramp

primary
#7B2D17
secondary
#3E97B0
accent
#C5EB3C
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7B2D17

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

Preview Lab → · Contrast checker → · Palette generator →

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