#7F282C#7F282C

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

Color values

HEX#7F282C
RGBrgb(127, 40, 44)
HSLhsl(357, 52%, 33%)
HSVhsv(357, 69%, 50%)
CMYKcmyk(0%, 68.5%, 65.4%, 50.2%)
CIE-LABlab(29.94, 37.75, 18.43)
CIE-LCHlch(29.94, 42.01, 26.02°)
OKLaboklab(41.07% 0.1116 0.0441)
OKLCHoklch(41.07% 0.12 21.6)
XYZxyz(9.9668, 6.2128, 3.0568)
Luminance0.0621 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F282C #287F7B
analogous
#7F2858 #7F282C #7F4F28
triadic
#7F282C #2C7F28 #282C7F
tetradic
#7F282C #587F28 #287F7B #4F287F
square
#7F282C #587F28 #287F7B #4F287F
split-complementary
#7F282C #287F4F #28587F
monochromatic
#220B0C #50191C #7F282C #AE373C #CA575D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F282C#FFFFFF#000000##FFFFFF
##7F282C1.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)
#3F3B2B
Deuteranopia (green-blind)
#554D2A
Tritanopia (blue-blind)
#8C142A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f282c;
/* rgb */ color: rgb(127, 40, 44);
/* oklch */ color: oklch(41.1% 0.120 21.6);
Tailwind
colors: {
  custom: {
    50: '#aa6765',
    500: '#7f282c',
    950: '#000000',
  },
}
SCSS
$custom: #7f282c;
$custom-light: #aa6765;
$custom-dark: #000000;
JSON
{
  "hex": "#7f282c",
  "rgb": {
    "r": 127,
    "g": 40,
    "b": 44
  },
  "hsl": {
    "h": 357.241,
    "s": 52.096,
    "l": 32.745
  },
  "oklch": {
    "l": 0.41065,
    "c": 0.12002,
    "h": 21.6
  },
  "luminance": 0.06211
}

Semantic roles & 50–950 ramp

primary
#7F282C
secondary
#54AFAB
accent
#DCD54C
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110605
muted
#807A7A

Preview Lab

Preview with #7F282C

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

Preview Lab → · Contrast checker → · Palette generator →

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