#7F2A2E#7F2A2E

#7F2A2E is a dark, moderate red. Relative luminance 0.064; OKLCH L 41.4% C 0.118 H 21.2°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#7F2A2E
RGBrgb(127, 42, 46)
HSLhsl(357, 50%, 33%)
HSVhsv(357, 67%, 50%)
CMYKcmyk(0%, 66.9%, 63.8%, 50.2%)
CIE-LABlab(30.32, 36.98, 17.61)
CIE-LCHlch(30.32, 40.96, 25.47°)
OKLaboklab(41.36% 0.1096 0.0425)
OKLCHoklch(41.36% 0.118 21.2)
XYZxyz(10.0745, 6.3666, 3.2826)
Luminance0.0636 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2A2E #2A7F7B
analogous
#7F2A58 #7F2A2E #7F502A
triadic
#7F2A2E #2E7F2A #2A2E7F
tetradic
#7F2A2E #587F2A #2A7F7B #502A7F
square
#7F2A2E #587F2A #2A7F7B #502A7F
split-complementary
#7F2A2E #2A7F50 #2A587F
monochromatic
#230C0D #511B1D #7F2A2E #AD393F #C95B60

Accessibility & contrast

On white

9.24
#7F2A2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#7F2A2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2A2E
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2A2E#FFFFFF#000000##FFFFFF
##7F2A2E1.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403C2E
Deuteranopia (green-blind)
#554E2C
Tritanopia (blue-blind)
#8B182C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7f2a2e;
/* rgb */ color: rgb(127, 42, 46);
/* oklch */ color: oklch(41.4% 0.118 21.2);
Tailwind
colors: {
  custom: {
    50: '#aa6866',
    500: '#7f2a2e',
    950: '#000000',
  },
}
SCSS
$custom: #7f2a2e;
$custom-light: #aa6866;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2a2e",
  "rgb": {
    "r": 127,
    "g": 42,
    "b": 46
  },
  "hsl": {
    "h": 357.176,
    "s": 50.296,
    "l": 33.137
  },
  "oklch": {
    "l": 0.41358,
    "c": 0.11751,
    "h": 21.2
  },
  "luminance": 0.06365
}

Semantic roles & 50–950 ramp

primary
#7F2A2E
secondary
#57AEAA
accent
#DAD34E
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7F2A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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