#7F222E#7F222E

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

Color values

HEX#7F222E
RGBrgb(127, 34, 46)
HSLhsl(352, 58%, 32%)
HSVhsv(352, 73%, 50%)
CMYKcmyk(0%, 73.2%, 63.8%, 50.2%)
CIE-LABlab(29.04, 40.46, 15.96)
CIE-LCHlch(29.04, 43.49, 21.53°)
OKLaboklab(40.41% 0.1206 0.0387)
OKLCHoklch(40.41% 0.127 17.8)
XYZxyz(9.8186, 5.8547, 3.1973)
Luminance0.0585 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F222E #227F73
analogous
#7F225D #7F222E #7F4522
triadic
#7F222E #2E7F22 #222E7F
tetradic
#7F222E #5D7F22 #227F73 #45227F
square
#7F222E #5D7F22 #227F73 #45227F
split-complementary
#7F222E #227F45 #225D7F
monochromatic
#1E080B #4F151D #7F222E #AF2F3F #CF4C5D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F222E#FFFFFF#000000##FFFFFF
##7F222E1.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)
#3B382E
Deuteranopia (green-blind)
#534C2B
Tritanopia (blue-blind)
#8C0827
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f222e;
/* rgb */ color: rgb(127, 34, 46);
/* oklch */ color: oklch(40.4% 0.127 17.8);
Tailwind
colors: {
  custom: {
    50: '#aa6466',
    500: '#7f222e',
    950: '#000000',
  },
}
SCSS
$custom: #7f222e;
$custom-light: #aa6466;
$custom-dark: #000000;
JSON
{
  "hex": "#7f222e",
  "rgb": {
    "r": 127,
    "g": 34,
    "b": 46
  },
  "hsl": {
    "h": 352.258,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40405,
    "c": 0.12668,
    "h": 17.8
  },
  "luminance": 0.05853
}

Semantic roles & 50–950 ramp

primary
#7F222E
secondary
#4BB2A4
accent
#E1CD47
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7F222E

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

Preview Lab → · Contrast checker → · Palette generator →

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