#7F251C#7F251C

#7F251C is a dark, vivid red. Relative luminance 0.059; OKLCH L 40.4% C 0.126 H 29.4°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#7F251C
RGBrgb(127, 37, 28)
HSLhsl(5, 64%, 30%)
HSVhsv(5, 78%, 50%)
CMYKcmyk(0%, 70.9%, 78%, 50.2%)
CIE-LABlab(29.21, 38.18, 27.63)
CIE-LCHlch(29.21, 47.13, 35.89°)
OKLaboklab(40.44% 0.1095 0.0616)
OKLCHoklch(40.44% 0.126 29.4)
XYZxyz(9.6246, 5.9204, 1.7343)
Luminance0.0592 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F251C #1C767F
analogous
#7F1C44 #7F251C #7F571C
triadic
#7F251C #1C7F25 #251C7F
tetradic
#7F251C #447F1C #1C767F #571C7F
square
#7F251C #447F1C #1C767F #571C7F
split-complementary
#7F251C #1C7F57 #1C447F
monochromatic
#1B0806 #4D1611 #7F251C #B13427 #D54E40

Accessibility & contrast

On white

9.62
#7F251C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7F251C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F251C
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F251C#FFFFFF#000000##FFFFFF
##7F251C1.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F381A
Deuteranopia (green-blind)
#554C19
Tritanopia (blue-blind)
#8C0824
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f251c;
/* rgb */ color: rgb(127, 37, 28);
/* oklch */ color: oklch(40.4% 0.126 29.4);
Tailwind
colors: {
  custom: {
    50: '#ab6559',
    500: '#7f251c',
    950: '#000000',
  },
}
SCSS
$custom: #7f251c;
$custom-light: #ab6559;
$custom-dark: #000000;
JSON
{
  "hex": "#7f251c",
  "rgb": {
    "r": 127,
    "g": 37,
    "b": 28
  },
  "hsl": {
    "h": 5.455,
    "s": 63.871,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40438,
    "c": 0.12561,
    "h": 29.4
  },
  "luminance": 0.05919
}

Semantic roles & 50–950 ramp

primary
#7F251C
secondary
#44A9B3
accent
#D8E741
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7F251C

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

Preview Lab → · Contrast checker → · Palette generator →

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