#7B2B17#7B2B17

#7B2B17 is a dark, moderate red. Relative luminance 0.060; OKLCH L 40.4% C 0.116 H 35.1°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#7B2B17
RGBrgb(123, 43, 23)
HSLhsl(12, 68%, 29%)
HSVhsv(12, 81%, 48%)
CMYKcmyk(0%, 65%, 81.3%, 51.8%)
CIE-LABlab(29.42, 33.71, 30.52)
CIE-LCHlch(29.42, 45.47, 42.16°)
OKLaboklab(40.43% 0.095 0.0667)
OKLCHoklch(40.43% 0.116 35.1)
XYZxyz(9.1879, 6.0019, 1.4851)
Luminance0.0600 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2B17 #17677B
analogous
#7B1735 #7B2B17 #7B5D17
triadic
#7B2B17 #177B2B #2B177B
tetradic
#7B2B17 #357B17 #17677B #5D177B
square
#7B2B17 #357B17 #17677B #5D177B
split-complementary
#7B2B17 #177B5D #17357B
monochromatic
#1A0905 #47190D #7B2B17 #AF3D21 #D95533

Accessibility & contrast

On white

9.54
#7B2B17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7B2B17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2B17
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2B17#FFFFFF#000000##FFFFFF
##7B2B171.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A14
Deuteranopia (green-blind)
#554C14
Tritanopia (blue-blind)
#881627
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7b2b17;
/* rgb */ color: rgb(123, 43, 23);
/* oklch */ color: oklch(40.4% 0.116 35.1);
Tailwind
colors: {
  custom: {
    50: '#a86855',
    500: '#7b2b17',
    950: '#000000',
  },
}
SCSS
$custom: #7b2b17;
$custom-light: #a86855;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2b17",
  "rgb": {
    "r": 123,
    "g": 43,
    "b": 23
  },
  "hsl": {
    "h": 12,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40432,
    "c": 0.11607,
    "h": 35.1
  },
  "luminance": 0.06001
}

Semantic roles & 50–950 ramp

primary
#7B2B17
secondary
#3E99B0
accent
#C8EB3C
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7B2B17

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

Preview Lab → · Contrast checker → · Palette generator →

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