#7F2D15#7F2D15

#7F2D15 is a dark, moderate red. Relative luminance 0.064; OKLCH L 41.4% C 0.119 H 36.6°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#7F2D15
RGBrgb(127, 45, 21)
HSLhsl(14, 72%, 29%)
HSVhsv(14, 83%, 50%)
CMYKcmyk(0%, 64.6%, 83.5%, 50.2%)
CIE-LABlab(30.51, 34.21, 32.93)
CIE-LCHlch(30.51, 47.49, 43.91°)
OKLaboklab(41.39% 0.0957 0.071)
OKLCHoklch(41.39% 0.119 36.6)
XYZxyz(9.8272, 6.4443, 1.4357)
Luminance0.0644 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2D15 #15677F
analogous
#7F1532 #7F2D15 #7F6215
triadic
#7F2D15 #157F2D #2D157F
tetradic
#7F2D15 #327F15 #15677F #62157F
square
#7F2D15 #327F15 #15677F #62157F
split-complementary
#7F2D15 #157F62 #15327F
monochromatic
#1A0904 #4A1A0C #7F2D15 #B4401E #DD5831

Accessibility & contrast

On white

9.18
#7F2D15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F2D15
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2D15#FFFFFF#000000##FFFFFF
##7F2D151.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443C11
Deuteranopia (green-blind)
#594F12
Tritanopia (blue-blind)
#8C1828
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7f2d15;
/* rgb */ color: rgb(127, 45, 21);
/* oklch */ color: oklch(41.4% 0.119 36.6);
Tailwind
colors: {
  custom: {
    50: '#ab6a54',
    500: '#7f2d15',
    950: '#000000',
  },
}
SCSS
$custom: #7f2d15;
$custom-light: #ab6a54;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2d15",
  "rgb": {
    "r": 127,
    "g": 45,
    "b": 21
  },
  "hsl": {
    "h": 13.585,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.41389,
    "c": 0.11918,
    "h": 36.6
  },
  "luminance": 0.06443
}

Semantic roles & 50–950 ramp

primary
#7F2D15
secondary
#3C99B4
accent
#C5EE39
background
#FBF6F4
surface
#F6EBE8
border
#D0C6C4
text
#110703
muted
#807A78

Preview Lab

Preview with #7F2D15

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

Preview Lab → · Contrast checker → · Palette generator →

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