#7B2F23#7B2F23

#7B2F23 is a dark, moderate red. Relative luminance 0.064; OKLCH L 41.2% C 0.109 H 31.2°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#7B2F23
RGBrgb(123, 47, 35)
HSLhsl(8, 56%, 31%)
HSVhsv(8, 72%, 48%)
CMYKcmyk(0%, 61.8%, 71.5%, 51.8%)
CIE-LABlab(30.32, 32.30, 24.42)
CIE-LCHlch(30.32, 40.49, 37.09°)
OKLaboklab(41.16% 0.0931 0.0564)
OKLCHoklch(41.16% 0.109 31.2)
XYZxyz(9.4892, 6.3666, 2.3190)
Luminance0.0636 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2F23 #236F7B
analogous
#7B2343 #7B2F23 #7B5B23
triadic
#7B2F23 #237B2F #2F237B
tetradic
#7B2F23 #437B23 #236F7B #5B237B
square
#7B2F23 #437B23 #236F7B #5B237B
split-complementary
#7B2F23 #237B5B #23437B
monochromatic
#1C0B08 #4B1D15 #7B2F23 #AB4131 #CC5E4C

Accessibility & contrast

On white

9.24
#7B2F23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#7B2F23 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2F23
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2F23#FFFFFF#000000##FFFFFF
##7B2F231.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433D21
Deuteranopia (green-blind)
#564E21
Tritanopia (blue-blind)
#871F2C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7b2f23;
/* rgb */ color: rgb(123, 47, 35);
/* oklch */ color: oklch(41.2% 0.109 31.2);
Tailwind
colors: {
  custom: {
    50: '#a76b5e',
    500: '#7b2f23',
    950: '#000000',
  },
}
SCSS
$custom: #7b2f23;
$custom-light: #a76b5e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2f23",
  "rgb": {
    "r": 123,
    "g": 47,
    "b": 35
  },
  "hsl": {
    "h": 8.182,
    "s": 55.696,
    "l": 30.98
  },
  "oklch": {
    "l": 0.4116,
    "c": 0.10884,
    "h": 31.2
  },
  "luminance": 0.06365
}

Semantic roles & 50–950 ramp

primary
#7B2F23
secondary
#4CA0AE
accent
#CBDF49
background
#FAF6F5
surface
#F5EBE9
border
#CFC6C5
text
#110704
muted
#807A79

Preview Lab

Preview with #7B2F23

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

Preview Lab → · Contrast checker → · Palette generator →

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