#7D251B#7D251B

#7D251B is a dark, vivid red. Relative luminance 0.058; OKLCH L 40.1% C 0.124 H 29.9°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#7D251B
RGBrgb(125, 37, 27)
HSLhsl(6, 64%, 30%)
HSVhsv(6, 78%, 49%)
CMYKcmyk(0%, 70.4%, 78.4%, 51%)
CIE-LABlab(28.81, 37.41, 27.68)
CIE-LCHlch(28.81, 46.54, 36.50°)
OKLaboklab(40.06% 0.1071 0.0616)
OKLCHoklch(40.06% 0.124 29.9)
XYZxyz(9.3179, 5.7636, 1.6585)
Luminance0.0576 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D251B #1B737D
analogous
#7D1B42 #7D251B #7D561B
triadic
#7D251B #1B7D25 #251B7D
tetradic
#7D251B #427D1B #1B737D #561B7D
square
#7D251B #427D1B #1B737D #561B7D
split-complementary
#7D251B #1B7D56 #1B427D
monochromatic
#190705 #4B1610 #7D251B #AF3426 #D54D3D

Accessibility & contrast

On white

9.76
#7D251B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7D251B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D251B
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D251B#FFFFFF#000000##FFFFFF
##7D251B1.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3819
Deuteranopia (green-blind)
#544B18
Tritanopia (blue-blind)
#8A0923
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7d251b;
/* rgb */ color: rgb(125, 37, 27);
/* oklch */ color: oklch(40.1% 0.124 29.9);
Tailwind
colors: {
  custom: {
    50: '#aa6558',
    500: '#7d251b',
    950: '#000000',
  },
}
SCSS
$custom: #7d251b;
$custom-light: #aa6558;
$custom-dark: #000000;
JSON
{
  "hex": "#7d251b",
  "rgb": {
    "r": 125,
    "g": 37,
    "b": 27
  },
  "hsl": {
    "h": 6.122,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.4006,
    "c": 0.12353,
    "h": 29.9
  },
  "luminance": 0.05762
}

Semantic roles & 50–950 ramp

primary
#7D251B
secondary
#43A6B1
accent
#D6E740
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7D251B

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

Preview Lab → · Contrast checker → · Palette generator →

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