#7F2A2B#7F2A2B

#7F2A2B is a dark, moderate red. Relative luminance 0.063; OKLCH L 41.3% C 0.118 H 23.2°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#7F2A2B
RGBrgb(127, 42, 43)
HSLhsl(359, 50%, 33%)
HSVhsv(359, 67%, 50%)
CMYKcmyk(0%, 66.9%, 66.1%, 50.2%)
CIE-LABlab(30.26, 36.77, 19.48)
CIE-LCHlch(30.26, 41.61, 27.91°)
OKLaboklab(41.3% 0.1083 0.0464)
OKLCHoklch(41.3% 0.118 23.2)
XYZxyz(10.0174, 6.3437, 2.9820)
Luminance0.0634 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2A2B #2A7F7E
analogous
#7F2A55 #7F2A2B #7F532A
triadic
#7F2A2B #2B7F2A #2A2B7F
tetradic
#7F2A2B #557F2A #2A7F7E #532A7F
square
#7F2A2B #557F2A #2A7F7E #532A7F
split-complementary
#7F2A2B #2A7F53 #2A557F
monochromatic
#230C0C #511B1B #7F2A2B #AD393B #C95B5C

Accessibility & contrast

On white

9.26
#7F2A2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F2A2B
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2A2B#FFFFFF#000000##FFFFFF
##7F2A2B1.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403C2A
Deuteranopia (green-blind)
#564E29
Tritanopia (blue-blind)
#8C172B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7f2a2b;
/* rgb */ color: rgb(127, 42, 43);
/* oklch */ color: oklch(41.3% 0.118 23.2);
Tailwind
colors: {
  custom: {
    50: '#aa6864',
    500: '#7f2a2b',
    950: '#000000',
  },
}
SCSS
$custom: #7f2a2b;
$custom-light: #aa6864;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2a2b",
  "rgb": {
    "r": 127,
    "g": 42,
    "b": 43
  },
  "hsl": {
    "h": 359.294,
    "s": 50.296,
    "l": 33.137
  },
  "oklch": {
    "l": 0.41299,
    "c": 0.11783,
    "h": 23.2
  },
  "luminance": 0.06342
}

Semantic roles & 50–950 ramp

primary
#7F2A2B
secondary
#57AEAD
accent
#DAD84E
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110605
muted
#807A79

Preview Lab

Preview with #7F2A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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