#7F231E#7F231E

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

Color values

HEX#7F231E
RGBrgb(127, 35, 30)
HSLhsl(3, 62%, 31%)
HSVhsv(3, 76%, 50%)
CMYKcmyk(0%, 72.4%, 76.4%, 50.2%)
CIE-LABlab(28.93, 39.11, 26.09)
CIE-LCHlch(28.93, 47.02, 33.71°)
OKLaboklab(40.23% 0.1129 0.0588)
OKLCHoklch(40.23% 0.127 27.5)
XYZxyz(9.5888, 5.8093, 1.8444)
Luminance0.0581 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F231E #1E7A7F
analogous
#7F1E49 #7F231E #7F531E
triadic
#7F231E #1E7F23 #231E7F
tetradic
#7F231E #497F1E #1E7A7F #531E7F
square
#7F231E #497F1E #1E7A7F #531E7F
split-complementary
#7F231E #1E7F53 #1E497F
monochromatic
#1C0807 #4D1512 #7F231E #B1312A #D34C44

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F231E#FFFFFF#000000##FFFFFF
##7F231E1.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)
#3D371D
Deuteranopia (green-blind)
#544C1B
Tritanopia (blue-blind)
#8C0323
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f231e;
/* rgb */ color: rgb(127, 35, 30);
/* oklch */ color: oklch(40.2% 0.127 27.5);
Tailwind
colors: {
  custom: {
    50: '#ab645a',
    500: '#7f231e',
    950: '#000000',
  },
}
SCSS
$custom: #7f231e;
$custom-light: #ab645a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f231e",
  "rgb": {
    "r": 127,
    "g": 35,
    "b": 30
  },
  "hsl": {
    "h": 3.093,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40232,
    "c": 0.12724,
    "h": 27.5
  },
  "luminance": 0.05808
}

Semantic roles & 50–950 ramp

primary
#7F231E
secondary
#47ADB2
accent
#DDE543
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7F231E

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

Preview Lab → · Contrast checker → · Palette generator →

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