#7F2D21#7F2D21

#7F2D21 is a dark, moderate red. Relative luminance 0.065; OKLCH L 41.5% C 0.116 H 30.9°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#7F2D21
RGBrgb(127, 45, 33)
HSLhsl(8, 59%, 31%)
HSVhsv(8, 74%, 50%)
CMYKcmyk(0%, 64.6%, 74%, 50.2%)
CIE-LABlab(30.64, 34.74, 26.20)
CIE-LCHlch(30.64, 43.51, 37.03°)
OKLaboklab(41.53% 0.0998 0.0597)
OKLCHoklch(41.53% 0.116 30.9)
XYZxyz(9.9663, 6.5000, 2.1684)
Luminance0.0650 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2D21 #21737F
analogous
#7F2144 #7F2D21 #7F5C21
triadic
#7F2D21 #217F2D #2D217F
tetradic
#7F2D21 #447F21 #21737F #5C217F
square
#7F2D21 #447F21 #21737F #5C217F
split-complementary
#7F2D21 #217F5C #21447F
monochromatic
#1E0B08 #4E1C14 #7F2D21 #B03E2E #D05B4A

Accessibility & contrast

On white

9.13
#7F2D21 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#7F2D21 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2D21
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2D21#FFFFFF#000000##FFFFFF
##7F2D211.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433D1F
Deuteranopia (green-blind)
#584F1F
Tritanopia (blue-blind)
#8C1A2B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7f2d21;
/* rgb */ color: rgb(127, 45, 33);
/* oklch */ color: oklch(41.5% 0.116 30.9);
Tailwind
colors: {
  custom: {
    50: '#aa6a5d',
    500: '#7f2d21',
    950: '#000000',
  },
}
SCSS
$custom: #7f2d21;
$custom-light: #aa6a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2d21",
  "rgb": {
    "r": 127,
    "g": 45,
    "b": 33
  },
  "hsl": {
    "h": 7.66,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41532,
    "c": 0.11629,
    "h": 30.9
  },
  "luminance": 0.06499
}

Semantic roles & 50–950 ramp

primary
#7F2D21
secondary
#4AA4B2
accent
#CEE246
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110704
muted
#807A79

Preview Lab

Preview with #7F2D21

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

Preview Lab → · Contrast checker → · Palette generator →

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