#7B2F28#7B2F28

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

Color values

HEX#7B2F28
RGBrgb(123, 47, 40)
HSLhsl(5, 51%, 32%)
HSVhsv(5, 67%, 48%)
CMYKcmyk(0%, 61.8%, 67.5%, 51.8%)
CIE-LABlab(30.40, 32.62, 21.40)
CIE-LCHlch(30.40, 39.01, 33.27°)
OKLaboklab(41.24% 0.0951 0.0505)
OKLCHoklch(41.24% 0.108 28)
XYZxyz(9.5688, 6.3984, 2.7382)
Luminance0.0640 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2F28 #28747B
analogous
#7B284B #7B2F28 #7B5928
triadic
#7B2F28 #287B2F #2F287B
tetradic
#7B2F28 #4B7B28 #28747B #59287B
square
#7B2F28 #4B7B28 #28747B #59287B
split-complementary
#7B2F28 #287B59 #284B7B
monochromatic
#1F0C0A #4D1D19 #7B2F28 #A94137 #C85F56

Accessibility & contrast

On white

9.21
#7B2F28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#7B2F28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2F28
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2F28#FFFFFF#000000##FFFFFF
##7B2F281.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433D27
Deuteranopia (green-blind)
#564E26
Tritanopia (blue-blind)
#871F2E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7b2f28;
/* rgb */ color: rgb(123, 47, 40);
/* oklch */ color: oklch(41.2% 0.108 28.0);
Tailwind
colors: {
  custom: {
    50: '#a76b62',
    500: '#7b2f28',
    950: '#000000',
  },
}
SCSS
$custom: #7b2f28;
$custom-light: #a76b62;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2f28",
  "rgb": {
    "r": 123,
    "g": 47,
    "b": 40
  },
  "hsl": {
    "h": 5.06,
    "s": 50.92,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41243,
    "c": 0.10768,
    "h": 28
  },
  "luminance": 0.06397
}

Semantic roles & 50–950 ramp

primary
#7B2F28
secondary
#52A5AD
accent
#CFDA4D
background
#FAF6F5
surface
#F4EBEA
border
#CEC6C6
text
#100705
muted
#7F7A79

Preview Lab

Preview with #7B2F28

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

Preview Lab → · Contrast checker → · Palette generator →

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