#7B251C#7B251C

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

Color values

HEX#7B251C
RGBrgb(123, 37, 28)
HSLhsl(6, 63%, 30%)
HSVhsv(6, 77%, 48%)
CMYKcmyk(0%, 69.9%, 77.2%, 51.8%)
CIE-LABlab(28.43, 36.73, 26.55)
CIE-LCHlch(28.43, 45.32, 35.86°)
OKLaboklab(39.71% 0.1054 0.0595)
OKLCHoklch(39.71% 0.121 29.4)
XYZxyz(9.0405, 5.6193, 1.7070)
Luminance0.0562 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B251C #1C727B
analogous
#7B1C43 #7B251C #7B551C
triadic
#7B251C #1C7B25 #251C7B
tetradic
#7B251C #437B1C #1C727B #551C7B
square
#7B251C #437B1C #1C727B #551C7B
split-complementary
#7B251C #1C7B55 #1C437B
monochromatic
#190706 #491611 #7B251C #AD3427 #D34C3E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B251C#FFFFFF#000000##FFFFFF
##7B251C1.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)
#3D371A
Deuteranopia (green-blind)
#534A19
Tritanopia (blue-blind)
#880B24
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7b251c;
/* rgb */ color: rgb(123, 37, 28);
/* oklch */ color: oklch(39.7% 0.121 29.4);
Tailwind
colors: {
  custom: {
    50: '#a86558',
    500: '#7b251c',
    950: '#000000',
  },
}
SCSS
$custom: #7b251c;
$custom-light: #a86558;
$custom-dark: #000000;
JSON
{
  "hex": "#7b251c",
  "rgb": {
    "r": 123,
    "g": 37,
    "b": 28
  },
  "hsl": {
    "h": 5.684,
    "s": 62.914,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39709,
    "c": 0.12106,
    "h": 29.4
  },
  "luminance": 0.05618
}

Semantic roles & 50–950 ramp

primary
#7B251C
secondary
#44A5AF
accent
#D6E642
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7B251C

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

Preview Lab → · Contrast checker → · Palette generator →

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