#7B251B#7B251B

#7B251B is a dark, vivid red. Relative luminance 0.056; OKLCH L 39.7% C 0.121 H 30.0°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#7B251B
RGBrgb(123, 37, 27)
HSLhsl(6, 64%, 29%)
HSVhsv(6, 78%, 48%)
CMYKcmyk(0%, 69.9%, 78%, 51.8%)
CIE-LABlab(28.42, 36.68, 27.14)
CIE-LCHlch(28.42, 45.63, 36.50°)
OKLaboklab(39.7% 0.1051 0.0606)
OKLCHoklch(39.7% 0.121 30)
XYZxyz(9.0288, 5.6145, 1.6450)
Luminance0.0561 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B251B #1B717B
analogous
#7B1B41 #7B251B #7B551B
triadic
#7B251B #1B7B25 #251B7B
tetradic
#7B251B #417B1B #1B717B #551B7B
square
#7B251B #417B1B #1B717B #551B7B
split-complementary
#7B251B #1B7B55 #1B417B
monochromatic
#190806 #491610 #7B251B #AD3426 #D44C3C

Accessibility & contrast

On white

9.89
#7B251B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#7B251B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B251B
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B251B#FFFFFF#000000##FFFFFF
##7B251B1.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3719
Deuteranopia (green-blind)
#534A18
Tritanopia (blue-blind)
#880B23
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7b251b;
/* rgb */ color: rgb(123, 37, 27);
/* oklch */ color: oklch(39.7% 0.121 30.0);
Tailwind
colors: {
  custom: {
    50: '#a86558',
    500: '#7b251b',
    950: '#000000',
  },
}
SCSS
$custom: #7b251b;
$custom-light: #a86558;
$custom-dark: #000000;
JSON
{
  "hex": "#7b251b",
  "rgb": {
    "r": 123,
    "g": 37,
    "b": 27
  },
  "hsl": {
    "h": 6.25,
    "s": 64,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39695,
    "c": 0.12125,
    "h": 30
  },
  "luminance": 0.05613
}

Semantic roles & 50–950 ramp

primary
#7B251B
secondary
#43A4AF
accent
#D6E741
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7B251B

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

Preview Lab → · Contrast checker → · Palette generator →

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