#7F2A2F#7F2A2F

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

Color values

HEX#7F2A2F
RGBrgb(127, 42, 47)
HSLhsl(356, 50%, 33%)
HSVhsv(356, 67%, 50%)
CMYKcmyk(0%, 66.9%, 63%, 50.2%)
CIE-LABlab(30.34, 37.05, 16.99)
CIE-LCHlch(30.34, 40.76, 24.64°)
OKLaboklab(41.38% 0.11 0.0412)
OKLCHoklch(41.38% 0.117 20.5)
XYZxyz(10.0944, 6.3746, 3.3876)
Luminance0.0637 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2A2F #2A7F7A
analogous
#7F2A59 #7F2A2F #7F4F2A
triadic
#7F2A2F #2F7F2A #2A2F7F
tetradic
#7F2A2F #597F2A #2A7F7A #4F2A7F
square
#7F2A2F #597F2A #2A7F7A #4F2A7F
split-complementary
#7F2A2F #2A7F4F #2A597F
monochromatic
#230C0D #511B1E #7F2A2F #AD3940 #C95B61

Accessibility & contrast

On white

9.23
#7F2A2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F2A2F
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2A2F#FFFFFF#000000##FFFFFF
##7F2A2F1.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f2a2f;
/* rgb */ color: rgb(127, 42, 47);
/* oklch */ color: oklch(41.4% 0.117 20.5);
Tailwind
colors: {
  custom: {
    50: '#aa6867',
    500: '#7f2a2f',
    950: '#000000',
  },
}
SCSS
$custom: #7f2a2f;
$custom-light: #aa6867;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2a2f",
  "rgb": {
    "r": 127,
    "g": 42,
    "b": 47
  },
  "hsl": {
    "h": 356.471,
    "s": 50.296,
    "l": 33.137
  },
  "oklch": {
    "l": 0.41379,
    "c": 0.11744,
    "h": 20.5
  },
  "luminance": 0.06373
}

Semantic roles & 50–950 ramp

primary
#7F2A2F
secondary
#57AEA9
accent
#DAD24E
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7F2A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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