#7F2D19#7F2D19

#7F2D19 is a dark, moderate red. Relative luminance 0.065; OKLCH L 41.4% C 0.118 H 34.9°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#7F2D19
RGBrgb(127, 45, 25)
HSLhsl(12, 67%, 30%)
HSVhsv(12, 80%, 50%)
CMYKcmyk(0%, 64.6%, 80.3%, 50.2%)
CIE-LABlab(30.55, 34.37, 30.79)
CIE-LCHlch(30.55, 46.14, 41.86°)
OKLaboklab(41.43% 0.097 0.0676)
OKLCHoklch(41.43% 0.118 34.9)
XYZxyz(9.8673, 6.4604, 1.6469)
Luminance0.0646 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2D19 #196B7F
analogous
#7F1938 #7F2D19 #7F6019
triadic
#7F2D19 #197F2D #2D197F
tetradic
#7F2D19 #387F19 #196B7F #60197F
square
#7F2D19 #387F19 #196B7F #60197F
split-complementary
#7F2D19 #197F60 #19387F
monochromatic
#1A0905 #4C1B0F #7F2D19 #B23F23 #D8593A

Accessibility & contrast

On white

9.16
#7F2D19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#7F2D19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2D19
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2D19#FFFFFF#000000##FFFFFF
##7F2D191.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443C16
Deuteranopia (green-blind)
#584F16
Tritanopia (blue-blind)
#8C1829
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7f2d19;
/* rgb */ color: rgb(127, 45, 25);
/* oklch */ color: oklch(41.4% 0.118 34.9);
Tailwind
colors: {
  custom: {
    50: '#ab6a57',
    500: '#7f2d19',
    950: '#000000',
  },
}
SCSS
$custom: #7f2d19;
$custom-light: #ab6a57;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2d19",
  "rgb": {
    "r": 127,
    "g": 45,
    "b": 25
  },
  "hsl": {
    "h": 11.765,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.4143,
    "c": 0.11821,
    "h": 34.9
  },
  "luminance": 0.06459
}

Semantic roles & 50–950 ramp

primary
#7F2D19
secondary
#419DB3
accent
#C8EA3E
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110703
muted
#807A78

Preview Lab

Preview with #7F2D19

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

Preview Lab → · Contrast checker → · Palette generator →

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