#7F2F2C#7F2F2C

#7F2F2C is a dark, moderate red. Relative luminance 0.067; OKLCH L 42.0% C 0.112 H 25.2°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#7F2F2C
RGBrgb(127, 47, 44)
HSLhsl(2, 49%, 34%)
HSVhsv(2, 65%, 50%)
CMYKcmyk(0%, 63%, 65.4%, 50.2%)
CIE-LABlab(31.18, 34.43, 20.00)
CIE-LCHlch(31.18, 39.82, 30.14°)
OKLaboklab(41.99% 0.1011 0.0477)
OKLCHoklch(41.99% 0.112 25.2)
XYZxyz(10.2245, 6.7283, 3.1427)
Luminance0.0673 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2F2C #2C7C7F
analogous
#7F2C52 #7F2F2C #7F582C
triadic
#7F2F2C #2C7F2F #2F2C7F
tetradic
#7F2F2C #527F2C #2C7C7F #582C7F
square
#7F2F2C #527F2C #2C7C7F #582C7F
split-complementary
#7F2F2C #2C7F58 #2C527F
monochromatic
#240D0D #521E1C #7F2F2C #AC403C #C7625E

Accessibility & contrast

On white

8.95
#7F2F2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F2F2C
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2F2C#FFFFFF#000000##FFFFFF
##7F2F2C1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443F2B
Deuteranopia (green-blind)
#58502A
Tritanopia (blue-blind)
#8B1F2F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7f2f2c;
/* rgb */ color: rgb(127, 47, 44);
/* oklch */ color: oklch(42.0% 0.112 25.2);
Tailwind
colors: {
  custom: {
    50: '#aa6b65',
    500: '#7f2f2c',
    950: '#000000',
  },
}
SCSS
$custom: #7f2f2c;
$custom-light: #aa6b65;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2f2c",
  "rgb": {
    "r": 127,
    "g": 47,
    "b": 44
  },
  "hsl": {
    "h": 2.169,
    "s": 48.538,
    "l": 33.529
  },
  "oklch": {
    "l": 0.41993,
    "c": 0.11182,
    "h": 25.2
  },
  "luminance": 0.06727
}

Semantic roles & 50–950 ramp

primary
#7F2F2C
secondary
#59AAAD
accent
#D3D850
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110705
muted
#807A7A

Preview Lab

Preview with #7F2F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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