#7F231C#7F231C

#7F231C is a dark, vivid red. Relative luminance 0.058; OKLCH L 40.2% C 0.128 H 28.5°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#7F231C
RGBrgb(127, 35, 28)
HSLhsl(4, 64%, 30%)
HSVhsv(4, 78%, 50%)
CMYKcmyk(0%, 72.4%, 78%, 50.2%)
CIE-LABlab(28.90, 39.02, 27.29)
CIE-LCHlch(28.90, 47.62, 34.96°)
OKLaboklab(40.21% 0.1121 0.0609)
OKLCHoklch(40.21% 0.128 28.5)
XYZxyz(9.5641, 5.7994, 1.7142)
Luminance0.0580 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F231C #1C787F
analogous
#7F1C47 #7F231C #7F541C
triadic
#7F231C #1C7F23 #231C7F
tetradic
#7F231C #477F1C #1C787F #541C7F
square
#7F231C #477F1C #1C787F #541C7F
split-complementary
#7F231C #1C7F54 #1C477F
monochromatic
#1B0706 #4D1511 #7F231C #B13127 #D54B40

Accessibility & contrast

On white

9.72
#7F231C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7F231C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F231C
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F231C#FFFFFF#000000##FFFFFF
##7F231C1.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E371A
Deuteranopia (green-blind)
#554B19
Tritanopia (blue-blind)
#8C0222
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f231c;
/* rgb */ color: rgb(127, 35, 28);
/* oklch */ color: oklch(40.2% 0.128 28.5);
Tailwind
colors: {
  custom: {
    50: '#ab6458',
    500: '#7f231c',
    950: '#000000',
  },
}
SCSS
$custom: #7f231c;
$custom-light: #ab6458;
$custom-dark: #000000;
JSON
{
  "hex": "#7f231c",
  "rgb": {
    "r": 127,
    "g": 35,
    "b": 28
  },
  "hsl": {
    "h": 4.242,
    "s": 63.871,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40205,
    "c": 0.12758,
    "h": 28.5
  },
  "luminance": 0.05798
}

Semantic roles & 50–950 ramp

primary
#7F231C
secondary
#44ABB3
accent
#DBE741
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7F231C

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

Preview Lab → · Contrast checker → · Palette generator →

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