#7B2E28#7B2E28

#7B2E28 is a dark, moderate red. Relative luminance 0.063; OKLCH L 41.1% C 0.109 H 27.3°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#7B2E28
RGBrgb(123, 46, 40)
HSLhsl(4, 51%, 32%)
HSVhsv(4, 67%, 48%)
CMYKcmyk(0%, 62.6%, 67.5%, 51.8%)
CIE-LABlab(30.20, 33.12, 21.16)
CIE-LCHlch(30.20, 39.31, 32.57°)
OKLaboklab(41.1% 0.0967 0.05)
OKLCHoklch(41.1% 0.109 27.3)
XYZxyz(9.5293, 6.3194, 2.7250)
Luminance0.0632 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2E28 #28757B
analogous
#7B284C #7B2E28 #7B5828
triadic
#7B2E28 #287B2E #2E287B
tetradic
#7B2E28 #4C7B28 #28757B #58287B
square
#7B2E28 #4C7B28 #28757B #58287B
split-complementary
#7B2E28 #287B58 #284C7B
monochromatic
#1F0B0A #4D1D19 #7B2E28 #A93F37 #C85E56

Accessibility & contrast

On white

9.28
#7B2E28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B2E28
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2E28#FFFFFF#000000##FFFFFF
##7B2E281.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423D27
Deuteranopia (green-blind)
#554D26
Tritanopia (blue-blind)
#871E2D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7b2e28;
/* rgb */ color: rgb(123, 46, 40);
/* oklch */ color: oklch(41.1% 0.109 27.3);
Tailwind
colors: {
  custom: {
    50: '#a76a62',
    500: '#7b2e28',
    950: '#000000',
  },
}
SCSS
$custom: #7b2e28;
$custom-light: #a76a62;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2e28",
  "rgb": {
    "r": 123,
    "g": 46,
    "b": 40
  },
  "hsl": {
    "h": 4.337,
    "s": 50.92,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41098,
    "c": 0.10885,
    "h": 27.3
  },
  "luminance": 0.06318
}

Semantic roles & 50–950 ramp

primary
#7B2E28
secondary
#52A6AD
accent
#D0DA4D
background
#FAF6F5
surface
#F4EBEA
border
#CEC6C6
text
#100705
muted
#7F7A79

Preview Lab

Preview with #7B2E28

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

Preview Lab → · Contrast checker → · Palette generator →

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