#7F2E2A#7F2E2A

#7F2E2A is a dark, moderate red. Relative luminance 0.066; OKLCH L 41.8% C 0.113 H 26.0°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#7F2E2A
RGBrgb(127, 46, 42)
HSLhsl(3, 50%, 33%)
HSVhsv(3, 67%, 50%)
CMYKcmyk(0%, 63.8%, 66.9%, 50.2%)
CIE-LABlab(30.96, 34.79, 20.99)
CIE-LCHlch(30.96, 40.63, 31.10°)
OKLaboklab(41.82% 0.1019 0.0497)
OKLCHoklch(41.82% 0.113 26)
XYZxyz(10.1483, 6.6345, 2.9362)
Luminance0.0663 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2E2A #2A7B7F
analogous
#7F2A50 #7F2E2A #7F582A
triadic
#7F2E2A #2A7F2E #2E2A7F
tetradic
#7F2E2A #507F2A #2A7B7F #582A7F
square
#7F2E2A #507F2A #2A7B7F #582A7F
split-complementary
#7F2E2A #2A7F58 #2A507F
monochromatic
#230D0C #511D1B #7F2E2A #AD3F39 #C9605B

Accessibility & contrast

On white

9.03
#7F2E2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F2E2A
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2E2A#FFFFFF#000000##FFFFFF
##7F2E2A1.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433E29
Deuteranopia (green-blind)
#574F28
Tritanopia (blue-blind)
#8C1D2E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7f2e2a;
/* rgb */ color: rgb(127, 46, 42);
/* oklch */ color: oklch(41.8% 0.113 26.0);
Tailwind
colors: {
  custom: {
    50: '#aa6b63',
    500: '#7f2e2a',
    950: '#000000',
  },
}
SCSS
$custom: #7f2e2a;
$custom-light: #aa6b63;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2e2a",
  "rgb": {
    "r": 127,
    "g": 46,
    "b": 42
  },
  "hsl": {
    "h": 2.824,
    "s": 50.296,
    "l": 33.137
  },
  "oklch": {
    "l": 0.41816,
    "c": 0.11333,
    "h": 26
  },
  "luminance": 0.06633
}

Semantic roles & 50–950 ramp

primary
#7F2E2A
secondary
#57AAAE
accent
#D3DA4E
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110705
muted
#807A79

Preview Lab

Preview with #7F2E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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