#7D241B#7D241B

#7D241B is a dark, vivid red. Relative luminance 0.057; OKLCH L 39.9% C 0.125 H 29.4°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#7D241B
RGBrgb(125, 36, 27)
HSLhsl(6, 64%, 30%)
HSVhsv(6, 78%, 49%)
CMYKcmyk(0%, 71.2%, 78.4%, 51%)
CIE-LABlab(28.65, 37.85, 27.50)
CIE-LCHlch(28.65, 46.78, 36.01°)
OKLaboklab(39.94% 0.1085 0.0612)
OKLCHoklch(39.94% 0.125 29.4)
XYZxyz(9.2872, 5.7022, 1.6483)
Luminance0.0570 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D241B #1B747D
analogous
#7D1B43 #7D241B #7D551B
triadic
#7D241B #1B7D24 #241B7D
tetradic
#7D241B #437D1B #1B747D #551B7D
square
#7D241B #437D1B #1B747D #551B7D
split-complementary
#7D241B #1B7D55 #1B437D
monochromatic
#190705 #4B1610 #7D241B #AF3226 #D54B3D

Accessibility & contrast

On white

9.81
#7D241B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7D241B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D241B
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D241B#FFFFFF#000000##FFFFFF
##7D241B1.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d241b;
/* rgb */ color: rgb(125, 36, 27);
/* oklch */ color: oklch(39.9% 0.125 29.4);
Tailwind
colors: {
  custom: {
    50: '#aa6558',
    500: '#7d241b',
    950: '#000000',
  },
}
SCSS
$custom: #7d241b;
$custom-light: #aa6558;
$custom-dark: #000000;
JSON
{
  "hex": "#7d241b",
  "rgb": {
    "r": 125,
    "g": 36,
    "b": 27
  },
  "hsl": {
    "h": 5.51,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.3994,
    "c": 0.12452,
    "h": 29.4
  },
  "luminance": 0.05701
}

Semantic roles & 50–950 ramp

primary
#7D241B
secondary
#43A7B1
accent
#D8E740
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7D241B

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

Preview Lab → · Contrast checker → · Palette generator →

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