#7F2E19#7F2E19

#7F2E19 is a dark, moderate red. Relative luminance 0.065; OKLCH L 41.6% C 0.117 H 35.5°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#7F2E19
RGBrgb(127, 46, 25)
HSLhsl(12, 67%, 30%)
HSVhsv(12, 80%, 50%)
CMYKcmyk(0%, 63.8%, 80.3%, 50.2%)
CIE-LABlab(30.73, 33.88, 30.98)
CIE-LCHlch(30.73, 45.91, 42.44°)
OKLaboklab(41.57% 0.0955 0.068)
OKLCHoklch(41.57% 0.117 35.5)
XYZxyz(9.9059, 6.5376, 1.6598)
Luminance0.0654 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2E19 #196A7F
analogous
#7F1937 #7F2E19 #7F6119
triadic
#7F2E19 #197F2E #2E197F
tetradic
#7F2E19 #377F19 #196A7F #61197F
square
#7F2E19 #377F19 #196A7F #61197F
split-complementary
#7F2E19 #197F61 #19377F
monochromatic
#1A0905 #4C1B0F #7F2E19 #B24123 #D85B3A

Accessibility & contrast

On white

9.10
#7F2E19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#7F2E19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2E19
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2E19#FFFFFF#000000##FFFFFF
##7F2E191.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453D16
Deuteranopia (green-blind)
#594F16
Tritanopia (blue-blind)
#8C1A2A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7f2e19;
/* rgb */ color: rgb(127, 46, 25);
/* oklch */ color: oklch(41.6% 0.117 35.5);
Tailwind
colors: {
  custom: {
    50: '#ab6a57',
    500: '#7f2e19',
    950: '#000000',
  },
}
SCSS
$custom: #7f2e19;
$custom-light: #ab6a57;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2e19",
  "rgb": {
    "r": 127,
    "g": 46,
    "b": 25
  },
  "hsl": {
    "h": 12.353,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41569,
    "c": 0.11721,
    "h": 35.5
  },
  "luminance": 0.06536
}

Semantic roles & 50–950 ramp

primary
#7F2E19
secondary
#419CB3
accent
#C7EA3E
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110703
muted
#807A78

Preview Lab

Preview with #7F2E19

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

Preview Lab → · Contrast checker → · Palette generator →

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