#7F282D#7F282D

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

Color values

HEX#7F282D
RGBrgb(127, 40, 45)
HSLhsl(357, 52%, 33%)
HSVhsv(357, 69%, 50%)
CMYKcmyk(0%, 68.5%, 64.6%, 50.2%)
CIE-LABlab(29.96, 37.82, 17.80)
CIE-LCHlch(29.96, 41.80, 25.21°)
OKLaboklab(41.09% 0.112 0.0428)
OKLCHoklch(41.09% 0.12 20.9)
XYZxyz(9.9858, 6.2205, 3.1570)
Luminance0.0622 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F282D #287F7A
analogous
#7F2858 #7F282D #7F4F28
triadic
#7F282D #2D7F28 #282D7F
tetradic
#7F282D #587F28 #287F7A #4F287F
square
#7F282D #587F28 #287F7A #4F287F
split-complementary
#7F282D #287F4F #28587F
monochromatic
#220B0C #50191D #7F282D #AE373D #CA575E

Accessibility & contrast

On white

9.36
#7F282D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F282D
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F282D#FFFFFF#000000##FFFFFF
##7F282D1.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3B2D
Deuteranopia (green-blind)
#554D2B
Tritanopia (blue-blind)
#8B142A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7f282d;
/* rgb */ color: rgb(127, 40, 45);
/* oklch */ color: oklch(41.1% 0.120 20.9);
Tailwind
colors: {
  custom: {
    50: '#aa6765',
    500: '#7f282d',
    950: '#000000',
  },
}
SCSS
$custom: #7f282d;
$custom-light: #aa6765;
$custom-dark: #000000;
JSON
{
  "hex": "#7f282d",
  "rgb": {
    "r": 127,
    "g": 40,
    "b": 45
  },
  "hsl": {
    "h": 356.552,
    "s": 52.096,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41085,
    "c": 0.11994,
    "h": 20.9
  },
  "luminance": 0.06219
}

Semantic roles & 50–950 ramp

primary
#7F282D
secondary
#54AFAA
accent
#DCD34C
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110605
muted
#807A7A

Preview Lab

Preview with #7F282D

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

Preview Lab → · Contrast checker → · Palette generator →

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