#7A251B#7A251B

#7A251B is a dark, vivid red. Relative luminance 0.055; OKLCH L 39.5% C 0.120 H 30.0°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#7A251B
RGBrgb(122, 37, 27)
HSLhsl(6, 64%, 29%)
HSVhsv(6, 78%, 48%)
CMYKcmyk(0%, 69.7%, 77.9%, 52.2%)
CIE-LABlab(28.22, 36.31, 26.87)
CIE-LCHlch(28.22, 45.18, 36.50°)
OKLaboklab(39.51% 0.104 0.06)
OKLCHoklch(39.51% 0.12 30)
XYZxyz(8.8864, 5.5411, 1.6383)
Luminance0.0554 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A251B #1B707A
analogous
#7A1B41 #7A251B #7A551B
triadic
#7A251B #1B7A25 #251B7A
tetradic
#7A251B #417A1B #1B707A #551B7A
square
#7A251B #417A1B #1B707A #551B7A
split-complementary
#7A251B #1B7A55 #1B417A
monochromatic
#190806 #481610 #7A251B #AC3426 #D44C3C

Accessibility & contrast

On white

9.96
#7A251B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#7A251B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A251B
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A251B#FFFFFF#000000##FFFFFF
##7A251B1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3719
Deuteranopia (green-blind)
#524918
Tritanopia (blue-blind)
#870C23
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7a251b;
/* rgb */ color: rgb(122, 37, 27);
/* oklch */ color: oklch(39.5% 0.120 30.0);
Tailwind
colors: {
  custom: {
    50: '#a76558',
    500: '#7a251b',
    950: '#000000',
  },
}
SCSS
$custom: #7a251b;
$custom-light: #a76558;
$custom-dark: #000000;
JSON
{
  "hex": "#7a251b",
  "rgb": {
    "r": 122,
    "g": 37,
    "b": 27
  },
  "hsl": {
    "h": 6.316,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39513,
    "c": 0.12011,
    "h": 30
  },
  "luminance": 0.0554
}

Semantic roles & 50–950 ramp

primary
#7A251B
secondary
#43A3AE
accent
#D5E741
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7A251B

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

Preview Lab → · Contrast checker → · Palette generator →

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