#7F272F#7F272F

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

Color values

HEX#7F272F
RGBrgb(127, 39, 47)
HSLhsl(355, 53%, 33%)
HSVhsv(355, 69%, 50%)
CMYKcmyk(0%, 69.3%, 63%, 50.2%)
CIE-LABlab(29.84, 38.41, 16.34)
CIE-LCHlch(29.84, 41.74, 23.04°)
OKLaboklab(41% 0.1143 0.0397)
OKLCHoklch(41% 0.121 19.1)
XYZxyz(9.9920, 6.1697, 3.3535)
Luminance0.0617 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F272F #277F77
analogous
#7F275B #7F272F #7F4B27
triadic
#7F272F #2F7F27 #272F7F
tetradic
#7F272F #5B7F27 #277F77 #4B277F
square
#7F272F #5B7F27 #277F77 #4B277F
split-complementary
#7F272F #277F4B #275B7F
monochromatic
#210A0C #50191E #7F272F #AE3540 #CB5560

Accessibility & contrast

On white

9.40
#7F272F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F272F
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F272F#FFFFFF#000000##FFFFFF
##7F272F1.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3B2F
Deuteranopia (green-blind)
#544D2D
Tritanopia (blue-blind)
#8B132B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f272f;
/* rgb */ color: rgb(127, 39, 47);
/* oklch */ color: oklch(41.0% 0.121 19.1);
Tailwind
colors: {
  custom: {
    50: '#aa6767',
    500: '#7f272f',
    950: '#000000',
  },
}
SCSS
$custom: #7f272f;
$custom-light: #aa6767;
$custom-dark: #000000;
JSON
{
  "hex": "#7f272f",
  "rgb": {
    "r": 127,
    "g": 39,
    "b": 47
  },
  "hsl": {
    "h": 354.545,
    "s": 53.012,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41004,
    "c": 0.12098,
    "h": 19.1
  },
  "luminance": 0.06168
}

Semantic roles & 50–950 ramp

primary
#7F272F
secondary
#52B0A7
accent
#DCCF4B
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7F272F

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

Preview Lab → · Contrast checker → · Palette generator →

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