#7B251A#7B251A

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

Color values

HEX#7B251A
RGBrgb(123, 37, 26)
HSLhsl(7, 65%, 29%)
HSVhsv(7, 79%, 48%)
CMYKcmyk(0%, 69.9%, 78.9%, 51.8%)
CIE-LABlab(28.41, 36.64, 27.73)
CIE-LCHlch(28.41, 45.95, 37.12°)
OKLaboklab(39.68% 0.1047 0.0616)
OKLCHoklch(39.68% 0.121 30.4)
XYZxyz(9.0174, 5.6100, 1.5851)
Luminance0.0561 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B251A #1A707B
analogous
#7B1A40 #7B251A #7B561A
triadic
#7B251A #1A7B25 #251A7B
tetradic
#7B251A #407B1A #1A707B #561A7B
square
#7B251A #407B1A #1A707B #561A7B
split-complementary
#7B251A #1A7B56 #1A407B
monochromatic
#190805 #48160F #7B251A #AE3425 #D54C3A

Accessibility & contrast

On white

9.90
#7B251A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B251A
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B251A#FFFFFF#000000##FFFFFF
##7B251A1.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b251a;
/* rgb */ color: rgb(123, 37, 26);
/* oklch */ color: oklch(39.7% 0.121 30.4);
Tailwind
colors: {
  custom: {
    50: '#a86557',
    500: '#7b251a',
    950: '#000000',
  },
}
SCSS
$custom: #7b251a;
$custom-light: #a86557;
$custom-dark: #000000;
JSON
{
  "hex": "#7b251a",
  "rgb": {
    "r": 123,
    "g": 37,
    "b": 26
  },
  "hsl": {
    "h": 6.804,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39682,
    "c": 0.12145,
    "h": 30.4
  },
  "luminance": 0.05609
}

Semantic roles & 50–950 ramp

primary
#7B251A
secondary
#42A3AF
accent
#D5E840
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7B251A

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

Preview Lab → · Contrast checker → · Palette generator →

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