#7F2F22#7F2F22

#7F2F22 is a dark, moderate red. Relative luminance 0.067; OKLCH L 41.8% C 0.114 H 31.5°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#7F2F22
RGBrgb(127, 47, 34)
HSLhsl(8, 58%, 32%)
HSVhsv(8, 73%, 50%)
CMYKcmyk(0%, 63%, 73.2%, 50.2%)
CIE-LABlab(31.02, 33.81, 26.04)
CIE-LCHlch(31.02, 42.68, 37.60°)
OKLaboklab(41.83% 0.0971 0.0595)
OKLCHoklch(41.83% 0.114 31.5)
XYZxyz(10.0587, 6.6619, 2.2693)
Luminance0.0666 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2F22 #22727F
analogous
#7F2244 #7F2F22 #7F5E22
triadic
#7F2F22 #227F2F #2F227F
tetradic
#7F2F22 #447F22 #22727F #5E227F
square
#7F2F22 #447F22 #22727F #5E227F
split-complementary
#7F2F22 #227F5E #22447F
monochromatic
#1E0B08 #4F1D15 #7F2F22 #AF412F #CF5F4C

Accessibility & contrast

On white

9.00
#7F2F22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#7F2F22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2F22
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2F22#FFFFFF#000000##FFFFFF
##7F2F221.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453E20
Deuteranopia (green-blind)
#595020
Tritanopia (blue-blind)
#8C1D2C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7f2f22;
/* rgb */ color: rgb(127, 47, 34);
/* oklch */ color: oklch(41.8% 0.114 31.5);
Tailwind
colors: {
  custom: {
    50: '#aa6b5d',
    500: '#7f2f22',
    950: '#000000',
  },
}
SCSS
$custom: #7f2f22;
$custom-light: #aa6b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2f22",
  "rgb": {
    "r": 127,
    "g": 47,
    "b": 34
  },
  "hsl": {
    "h": 8.387,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41826,
    "c": 0.11391,
    "h": 31.5
  },
  "luminance": 0.06661
}

Semantic roles & 50–950 ramp

primary
#7F2F22
secondary
#4BA3B2
accent
#CBE147
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110704
muted
#807A79

Preview Lab

Preview with #7F2F22

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

Preview Lab → · Contrast checker → · Palette generator →

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