#7B251F#7B251F

#7B251F is a dark, vivid red. Relative luminance 0.056; OKLCH L 39.8% C 0.120 H 27.9°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#7B251F
RGBrgb(123, 37, 31)
HSLhsl(4, 60%, 30%)
HSVhsv(4, 75%, 48%)
CMYKcmyk(0%, 69.9%, 74.8%, 51.8%)
CIE-LABlab(28.47, 36.87, 24.75)
CIE-LCHlch(28.47, 44.41, 33.87°)
OKLaboklab(39.75% 0.1065 0.0563)
OKLCHoklch(39.75% 0.121 27.9)
XYZxyz(9.0783, 5.6343, 1.9056)
Luminance0.0563 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B251F #1F757B
analogous
#7B1F47 #7B251F #7B531F
triadic
#7B251F #1F7B25 #251F7B
tetradic
#7B251F #477B1F #1F757B #531F7B
square
#7B251F #477B1F #1F757B #531F7B
split-complementary
#7B251F #1F7B53 #1F477B
monochromatic
#190806 #4A1613 #7B251F #AC342B #D04E44

Accessibility & contrast

On white

9.87
#7B251F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#7B251F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B251F
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B251F#FFFFFF#000000##FFFFFF
##7B251F1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D371E
Deuteranopia (green-blind)
#534A1C
Tritanopia (blue-blind)
#880C24
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7b251f;
/* rgb */ color: rgb(123, 37, 31);
/* oklch */ color: oklch(39.8% 0.120 27.9);
Tailwind
colors: {
  custom: {
    50: '#a8655b',
    500: '#7b251f',
    950: '#000000',
  },
}
SCSS
$custom: #7b251f;
$custom-light: #a8655b;
$custom-dark: #000000;
JSON
{
  "hex": "#7b251f",
  "rgb": {
    "r": 123,
    "g": 37,
    "b": 31
  },
  "hsl": {
    "h": 3.913,
    "s": 59.74,
    "l": 30.196
  },
  "oklch": {
    "l": 0.39751,
    "c": 0.1205,
    "h": 27.9
  },
  "luminance": 0.05633
}

Semantic roles & 50–950 ramp

primary
#7B251F
secondary
#48A8AE
accent
#D9E345
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #7B251F

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

Preview Lab → · Contrast checker → · Palette generator →

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