#7F3333#7F3333

#7F3333 is a dark, moderate red. Relative luminance 0.071; OKLCH L 42.7% C 0.106 H 22.6°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#7F3333
RGBrgb(127, 51, 51)
HSLhsl(0, 43%, 35%)
HSVhsv(0, 60%, 50%)
CMYKcmyk(0%, 59.8%, 59.8%, 50.2%)
CIE-LABlab(32.08, 32.94, 16.68)
CIE-LCHlch(32.08, 36.92, 26.86°)
OKLaboklab(42.71% 0.0978 0.0408)
OKLCHoklch(42.71% 0.106 22.6)
XYZxyz(10.5347, 7.1200, 3.9509)
Luminance0.0712 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F3333 #337F7F
analogous
#7F3359 #7F3333 #7F5933
triadic
#7F3333 #337F33 #33337F
tetradic
#7F3333 #597F33 #337F7F #59337F
square
#7F3333 #597F33 #337F7F #59337F
split-complementary
#7F3333 #337F59 #33597F
monochromatic
#281010 #532121 #7F3333 #AB4545 #C36969

Accessibility & contrast

On white

8.66
#7F3333 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#7F3333 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F3333
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F3333#FFFFFF#000000##FFFFFF
##7F33331.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464132
Deuteranopia (green-blind)
#595131
Tritanopia (blue-blind)
#8B2634
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7f3333;
/* rgb */ color: rgb(127, 51, 51);
/* oklch */ color: oklch(42.7% 0.106 22.6);
Tailwind
colors: {
  custom: {
    50: '#a96e6a',
    500: '#7f3333',
    950: '#000000',
  },
}
SCSS
$custom: #7f3333;
$custom-light: #a96e6a;
$custom-dark: #000000;
JSON
{
  "hex": "#7f3333",
  "rgb": {
    "r": 127,
    "g": 51,
    "b": 51
  },
  "hsl": {
    "h": 0,
    "s": 42.697,
    "l": 34.902
  },
  "oklch": {
    "l": 0.42712,
    "c": 0.10591,
    "h": 22.6
  },
  "luminance": 0.07119
}

Semantic roles & 50–950 ramp

primary
#7F3333
secondary
#63ABAB
accent
#D2D255
background
#FAF6F6
surface
#F5ECEB
border
#CFC7C6
text
#110706
muted
#807A7A

Preview Lab

Preview with #7F3333

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

Preview Lab → · Contrast checker → · Palette generator →

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