#7F222F#7F222F

#7F222F is a dark, vivid red. Relative luminance 0.059; OKLCH L 40.4% C 0.127 H 17.1°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#7F222F
RGBrgb(127, 34, 47)
HSLhsl(352, 58%, 32%)
HSVhsv(352, 73%, 50%)
CMYKcmyk(0%, 73.2%, 63%, 50.2%)
CIE-LABlab(29.06, 40.53, 15.32)
CIE-LCHlch(29.06, 43.33, 20.71°)
OKLaboklab(40.43% 0.1211 0.0373)
OKLCHoklch(40.43% 0.127 17.1)
XYZxyz(9.8385, 5.8627, 3.3023)
Luminance0.0586 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F222F #227F72
analogous
#7F225E #7F222F #7F4422
triadic
#7F222F #2F7F22 #222F7F
tetradic
#7F222F #5E7F22 #227F72 #44227F
square
#7F222F #5E7F22 #227F72 #44227F
split-complementary
#7F222F #227F44 #225E7F
monochromatic
#1E080B #4F151D #7F222F #AF2F41 #CF4C5F

Accessibility & contrast

On white

9.67
#7F222F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#7F222F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F222F
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F222F#FFFFFF#000000##FFFFFF
##7F222F1.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B382F
Deuteranopia (green-blind)
#524C2D
Tritanopia (blue-blind)
#8B0827
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f222f;
/* rgb */ color: rgb(127, 34, 47);
/* oklch */ color: oklch(40.4% 0.127 17.1);
Tailwind
colors: {
  custom: {
    50: '#aa6467',
    500: '#7f222f',
    950: '#000000',
  },
}
SCSS
$custom: #7f222f;
$custom-light: #aa6467;
$custom-dark: #000000;
JSON
{
  "hex": "#7f222f",
  "rgb": {
    "r": 127,
    "g": 34,
    "b": 47
  },
  "hsl": {
    "h": 351.613,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40427,
    "c": 0.12668,
    "h": 17.1
  },
  "luminance": 0.05861
}

Semantic roles & 50–950 ramp

primary
#7F222F
secondary
#4BB2A3
accent
#E1CB47
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7F222F

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

Preview Lab → · Contrast checker → · Palette generator →

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