#7F282F#7F282F

#7F282F is a dark, moderate red. Relative luminance 0.062; OKLCH L 41.1% C 0.120 H 19.6°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#7F282F
RGBrgb(127, 40, 47)
HSLhsl(355, 52%, 33%)
HSVhsv(355, 69%, 50%)
CMYKcmyk(0%, 68.5%, 63%, 50.2%)
CIE-LABlab(30.00, 37.96, 16.55)
CIE-LCHlch(30.00, 41.41, 23.56°)
OKLaboklab(41.13% 0.1129 0.0401)
OKLCHoklch(41.13% 0.12 19.6)
XYZxyz(10.0252, 6.2362, 3.3646)
Luminance0.0624 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F282F #287F78
analogous
#7F285B #7F282F #7F4C28
triadic
#7F282F #2F7F28 #282F7F
tetradic
#7F282F #5B7F28 #287F78 #4C287F
square
#7F282F #5B7F28 #287F78 #4C287F
split-complementary
#7F282F #287F4C #285B7F
monochromatic
#220B0D #50191E #7F282F #AE3740 #CA5760

Accessibility & contrast

On white

9.35
#7F282F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#7F282F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F282F
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F282F#FFFFFF#000000##FFFFFF
##7F282F1.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3B2F
Deuteranopia (green-blind)
#544D2D
Tritanopia (blue-blind)
#8B152B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7f282f;
/* rgb */ color: rgb(127, 40, 47);
/* oklch */ color: oklch(41.1% 0.120 19.6);
Tailwind
colors: {
  custom: {
    50: '#aa6767',
    500: '#7f282f',
    950: '#000000',
  },
}
SCSS
$custom: #7f282f;
$custom-light: #aa6767;
$custom-dark: #000000;
JSON
{
  "hex": "#7f282f",
  "rgb": {
    "r": 127,
    "g": 40,
    "b": 47
  },
  "hsl": {
    "h": 355.172,
    "s": 52.096,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41126,
    "c": 0.1198,
    "h": 19.6
  },
  "luminance": 0.06235
}

Semantic roles & 50–950 ramp

primary
#7F282F
secondary
#54AFA8
accent
#DCD04C
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7F282F

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

Preview Lab → · Contrast checker → · Palette generator →

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