#7F2E2F#7F2E2F

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

Color values

HEX#7F2E2F
RGBrgb(127, 46, 47)
HSLhsl(359, 47%, 34%)
HSVhsv(359, 64%, 50%)
CMYKcmyk(0%, 63.8%, 63%, 50.2%)
CIE-LABlab(31.05, 35.14, 17.91)
CIE-LCHlch(31.05, 39.44, 27.01°)
OKLaboklab(41.91% 0.104 0.0433)
OKLCHoklch(41.91% 0.113 22.6)
XYZxyz(10.2434, 6.6726, 3.4373)
Luminance0.0667 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2E2F #2E7F7E
analogous
#7F2E58 #7F2E2F #7F562E
triadic
#7F2E2F #2F7F2E #2E2F7F
tetradic
#7F2E2F #587F2E #2E7F7E #562E7F
square
#7F2E2F #587F2E #2E7F7E #562E7F
split-complementary
#7F2E2F #2E7F56 #2E587F
monochromatic
#250D0E #521E1E #7F2E2F #AC3E40 #C66163

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F2E2F#FFFFFF#000000##FFFFFF
##7F2E2F1.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)
#423E2E
Deuteranopia (green-blind)
#574F2D
Tritanopia (blue-blind)
#8B1E2F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7f2e2f;
/* rgb */ color: rgb(127, 46, 47);
/* oklch */ color: oklch(41.9% 0.113 22.6);
Tailwind
colors: {
  custom: {
    50: '#a96b67',
    500: '#7f2e2f',
    950: '#000000',
  },
}
SCSS
$custom: #7f2e2f;
$custom-light: #a96b67;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2e2f",
  "rgb": {
    "r": 127,
    "g": 46,
    "b": 47
  },
  "hsl": {
    "h": 359.259,
    "s": 46.821,
    "l": 33.922
  },
  "oklch": {
    "l": 0.41913,
    "c": 0.1126,
    "h": 22.6
  },
  "luminance": 0.06671
}

Semantic roles & 50–950 ramp

primary
#7F2E2F
secondary
#5CADAC
accent
#D6D551
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110706
muted
#807A7A

Preview Lab

Preview with #7F2E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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