#7A251F#7A251F

#7A251F is a dark, moderate red. Relative luminance 0.056; OKLCH L 39.6% C 0.119 H 27.9°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#7A251F
RGBrgb(122, 37, 31)
HSLhsl(4, 59%, 30%)
HSVhsv(4, 75%, 48%)
CMYKcmyk(0%, 69.7%, 74.6%, 52.2%)
CIE-LABlab(28.28, 36.51, 24.47)
CIE-LCHlch(28.28, 43.95, 33.84°)
OKLaboklab(39.57% 0.1055 0.0558)
OKLCHoklch(39.57% 0.119 27.9)
XYZxyz(8.9359, 5.5609, 1.8989)
Luminance0.0556 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A251F #1F747A
analogous
#7A1F47 #7A251F #7A521F
triadic
#7A251F #1F7A25 #251F7A
tetradic
#7A251F #477A1F #1F747A #521F7A
square
#7A251F #477A1F #1F747A #521F7A
split-complementary
#7A251F #1F7A52 #1F477A
monochromatic
#180706 #491613 #7A251F #AB342B #CF4D44

Accessibility & contrast

On white

9.94
#7A251F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A251F
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A251F#FFFFFF#000000##FFFFFF
##7A251F1.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D371E
Deuteranopia (green-blind)
#524A1C
Tritanopia (blue-blind)
#870D24
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7a251f;
/* rgb */ color: rgb(122, 37, 31);
/* oklch */ color: oklch(39.6% 0.119 27.9);
Tailwind
colors: {
  custom: {
    50: '#a7655b',
    500: '#7a251f',
    950: '#000000',
  },
}
SCSS
$custom: #7a251f;
$custom-light: #a7655b;
$custom-dark: #000000;
JSON
{
  "hex": "#7a251f",
  "rgb": {
    "r": 122,
    "g": 37,
    "b": 31
  },
  "hsl": {
    "h": 3.956,
    "s": 59.477,
    "l": 30
  },
  "oklch": {
    "l": 0.3957,
    "c": 0.11935,
    "h": 27.9
  },
  "luminance": 0.0556
}

Semantic roles & 50–950 ramp

primary
#7A251F
secondary
#47A7AD
accent
#D8E345
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110604
muted
#807A79

Preview Lab

Preview with #7A251F

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

Preview Lab → · Contrast checker → · Palette generator →

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