#7F2F31#7F2F31

#7F2F31 is a dark, moderate red. Relative luminance 0.068; OKLCH L 42.1% C 0.111 H 21.7°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#7F2F31
RGBrgb(127, 47, 49)
HSLhsl(359, 46%, 34%)
HSVhsv(359, 63%, 50%)
CMYKcmyk(0%, 63%, 61.4%, 50.2%)
CIE-LABlab(31.27, 34.80, 16.91)
CIE-LCHlch(31.27, 38.70, 25.92°)
OKLaboklab(42.09% 0.1033 0.0411)
OKLCHoklch(42.09% 0.111 21.7)
XYZxyz(10.3242, 6.7681, 3.6679)
Luminance0.0677 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2F31 #2F7F7D
analogous
#7F2F59 #7F2F31 #7F552F
triadic
#7F2F31 #317F2F #2F317F
tetradic
#7F2F31 #597F2F #2F7F7D #552F7F
square
#7F2F31 #597F2F #2F7F7D #552F7F
split-complementary
#7F2F31 #2F7F55 #2F597F
monochromatic
#260E0F #521E20 #7F2F31 #AC4042 #C56366

Accessibility & contrast

On white

8.92
#7F2F31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#7F2F31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2F31
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2F31#FFFFFF#000000##FFFFFF
##7F2F311.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433F30
Deuteranopia (green-blind)
#57502F
Tritanopia (blue-blind)
#8B2030
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7f2f31;
/* rgb */ color: rgb(127, 47, 49);
/* oklch */ color: oklch(42.1% 0.111 21.7);
Tailwind
colors: {
  custom: {
    50: '#a96b69',
    500: '#7f2f31',
    950: '#000000',
  },
}
SCSS
$custom: #7f2f31;
$custom-light: #a96b69;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2f31",
  "rgb": {
    "r": 127,
    "g": 47,
    "b": 49
  },
  "hsl": {
    "h": 358.5,
    "s": 45.977,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42093,
    "c": 0.11115,
    "h": 21.7
  },
  "luminance": 0.06767
}

Semantic roles & 50–950 ramp

primary
#7F2F31
secondary
#5EACAA
accent
#D6D252
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110706
muted
#807A7A

Preview Lab

Preview with #7F2F31

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

Preview Lab → · Contrast checker → · Palette generator →

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