#7F272D#7F272D

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

Color values

HEX#7F272D
RGBrgb(127, 39, 45)
HSLhsl(356, 53%, 33%)
HSVhsv(356, 69%, 50%)
CMYKcmyk(0%, 69.3%, 64.6%, 50.2%)
CIE-LABlab(29.80, 38.27, 17.59)
CIE-LCHlch(29.80, 42.12, 24.69°)
OKLaboklab(40.96% 0.1135 0.0423)
OKLCHoklch(40.96% 0.121 20.5)
XYZxyz(9.9526, 6.1539, 3.1459)
Luminance0.0615 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F272D #277F79
analogous
#7F2759 #7F272D #7F4D27
triadic
#7F272D #2D7F27 #272D7F
tetradic
#7F272D #597F27 #277F79 #4D277F
square
#7F272D #597F27 #277F79 #4D277F
split-complementary
#7F272D #277F4D #27597F
monochromatic
#210A0C #50191C #7F272D #AE353E #CB555D

Accessibility & contrast

On white

9.41
#7F272D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#7F272D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F272D
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F272D#FFFFFF#000000##FFFFFF
##7F272D1.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3A2D
Deuteranopia (green-blind)
#544D2B
Tritanopia (blue-blind)
#8C122A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f272d;
/* rgb */ color: rgb(127, 39, 45);
/* oklch */ color: oklch(41.0% 0.121 20.5);
Tailwind
colors: {
  custom: {
    50: '#aa6765',
    500: '#7f272d',
    950: '#000000',
  },
}
SCSS
$custom: #7f272d;
$custom-light: #aa6765;
$custom-dark: #000000;
JSON
{
  "hex": "#7f272d",
  "rgb": {
    "r": 127,
    "g": 39,
    "b": 45
  },
  "hsl": {
    "h": 355.909,
    "s": 53.012,
    "l": 32.549
  },
  "oklch": {
    "l": 0.40962,
    "c": 0.12109,
    "h": 20.5
  },
  "luminance": 0.06153
}

Semantic roles & 50–950 ramp

primary
#7F272D
secondary
#52B0A9
accent
#DCD34B
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110605
muted
#807A7A

Preview Lab

Preview with #7F272D

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

Preview Lab → · Contrast checker → · Palette generator →

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