#7F272E#7F272E

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

Color values

HEX#7F272E
RGBrgb(127, 39, 46)
HSLhsl(355, 53%, 33%)
HSVhsv(355, 69%, 50%)
CMYKcmyk(0%, 69.3%, 63.8%, 50.2%)
CIE-LABlab(29.82, 38.34, 16.96)
CIE-LCHlch(29.82, 41.92, 23.87°)
OKLaboklab(40.98% 0.1139 0.041)
OKLCHoklch(40.98% 0.121 19.8)
XYZxyz(9.9720, 6.1617, 3.2485)
Luminance0.0616 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F272E #277F78
analogous
#7F275A #7F272E #7F4C27
triadic
#7F272E #2E7F27 #272E7F
tetradic
#7F272E #5A7F27 #277F78 #4C277F
square
#7F272E #5A7F27 #277F78 #4C277F
split-complementary
#7F272E #277F4C #275A7F
monochromatic
#210A0C #50191D #7F272E #AE353F #CB555F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F272E#FFFFFF#000000##FFFFFF
##7F272E1.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)
#3E3A2E
Deuteranopia (green-blind)
#544D2C
Tritanopia (blue-blind)
#8B122A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f272e;
/* rgb */ color: rgb(127, 39, 46);
/* oklch */ color: oklch(41.0% 0.121 19.8);
Tailwind
colors: {
  custom: {
    50: '#aa6766',
    500: '#7f272e',
    950: '#000000',
  },
}
SCSS
$custom: #7f272e;
$custom-light: #aa6766;
$custom-dark: #000000;
JSON
{
  "hex": "#7f272e",
  "rgb": {
    "r": 127,
    "g": 39,
    "b": 46
  },
  "hsl": {
    "h": 355.227,
    "s": 53.012,
    "l": 32.549
  },
  "oklch": {
    "l": 0.40983,
    "c": 0.12104,
    "h": 19.8
  },
  "luminance": 0.0616
}

Semantic roles & 50–950 ramp

primary
#7F272E
secondary
#52B0A8
accent
#DCD14B
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7F272E

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

Preview Lab → · Contrast checker → · Palette generator →

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