#7F2B2B#7F2B2B

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

Color values

HEX#7F2B2B
RGBrgb(127, 43, 43)
HSLhsl(0, 49%, 33%)
HSVhsv(0, 66%, 50%)
CMYKcmyk(0%, 66.1%, 66.1%, 50.2%)
CIE-LABlab(30.44, 36.30, 19.70)
CIE-LCHlch(30.44, 41.30, 28.49°)
OKLaboklab(41.43% 0.1068 0.0469)
OKLCHoklch(41.43% 0.117 23.7)
XYZxyz(10.0533, 6.4156, 2.9940)
Luminance0.0641 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2B2B #2B7F7F
analogous
#7F2B55 #7F2B2B #7F552B
triadic
#7F2B2B #2B7F2B #2B2B7F
tetradic
#7F2B2B #557F2B #2B7F7F #552B7F
square
#7F2B2B #557F2B #2B7F7F #552B7F
split-complementary
#7F2B2B #2B7F55 #2B557F
monochromatic
#240C0C #511C1C #7F2B2B #AD3A3A #C85C5C

Accessibility & contrast

On white

9.20
#7F2B2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#7F2B2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2B2B
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2B2B#FFFFFF#000000##FFFFFF
##7F2B2B1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413C2A
Deuteranopia (green-blind)
#564E29
Tritanopia (blue-blind)
#8C182C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7f2b2b;
/* rgb */ color: rgb(127, 43, 43);
/* oklch */ color: oklch(41.4% 0.117 23.7);
Tailwind
colors: {
  custom: {
    50: '#aa6964',
    500: '#7f2b2b',
    950: '#000000',
  },
}
SCSS
$custom: #7f2b2b;
$custom-light: #aa6964;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2b2b",
  "rgb": {
    "r": 127,
    "g": 43,
    "b": 43
  },
  "hsl": {
    "h": 0,
    "s": 49.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.41429,
    "c": 0.11666,
    "h": 23.7
  },
  "luminance": 0.06414
}

Semantic roles & 50–950 ramp

primary
#7F2B2B
secondary
#58AEAE
accent
#D9D94F
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110605
muted
#807A79

Preview Lab

Preview with #7F2B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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