#7F282B#7F282B

#7F282B is a dark, vivid red. Relative luminance 0.062; OKLCH L 41.0% C 0.120 H 22.2°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#7F282B
RGBrgb(127, 40, 43)
HSLhsl(358, 52%, 33%)
HSVhsv(358, 69%, 50%)
CMYKcmyk(0%, 68.5%, 66.1%, 50.2%)
CIE-LABlab(29.92, 37.68, 19.05)
CIE-LCHlch(29.92, 42.22, 26.82°)
OKLaboklab(41.05% 0.1112 0.0454)
OKLCHoklch(41.05% 0.12 22.2)
XYZxyz(9.9482, 6.2054, 2.9589)
Luminance0.0620 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F282B #287F7C
analogous
#7F2856 #7F282B #7F5028
triadic
#7F282B #2B7F28 #282B7F
tetradic
#7F282B #567F28 #287F7C #50287F
square
#7F282B #567F28 #287F7C #50287F
split-complementary
#7F282B #287F50 #28567F
monochromatic
#220B0B #50191B #7F282B #AE373B #CA575B

Accessibility & contrast

On white

9.37
#7F282B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#7F282B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F282B
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F282B#FFFFFF#000000##FFFFFF
##7F282B1.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3B2A
Deuteranopia (green-blind)
#554D29
Tritanopia (blue-blind)
#8C132A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f282b;
/* rgb */ color: rgb(127, 40, 43);
/* oklch */ color: oklch(41.0% 0.120 22.2);
Tailwind
colors: {
  custom: {
    50: '#aa6764',
    500: '#7f282b',
    950: '#000000',
  },
}
SCSS
$custom: #7f282b;
$custom-light: #aa6764;
$custom-dark: #000000;
JSON
{
  "hex": "#7f282b",
  "rgb": {
    "r": 127,
    "g": 40,
    "b": 43
  },
  "hsl": {
    "h": 357.931,
    "s": 52.096,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41045,
    "c": 0.12012,
    "h": 22.2
  },
  "luminance": 0.06204
}

Semantic roles & 50–950 ramp

primary
#7F282B
secondary
#54AFAC
accent
#DCD74C
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110605
muted
#807A79

Preview Lab

Preview with #7F282B

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

Preview Lab → · Contrast checker → · Palette generator →

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