#7F222D#7F222D

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

Color values

HEX#7F222D
RGBrgb(127, 34, 45)
HSLhsl(353, 58%, 32%)
HSVhsv(353, 73%, 50%)
CMYKcmyk(0%, 73.2%, 64.6%, 50.2%)
CIE-LABlab(29.02, 40.39, 16.59)
CIE-LCHlch(29.02, 43.66, 22.33°)
OKLaboklab(40.38% 0.1202 0.0401)
OKLCHoklch(40.38% 0.127 18.4)
XYZxyz(9.7991, 5.8469, 3.0947)
Luminance0.0585 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F222D #227F74
analogous
#7F225C #7F222D #7F4622
triadic
#7F222D #2D7F22 #222D7F
tetradic
#7F222D #5C7F22 #227F74 #46227F
square
#7F222D #5C7F22 #227F74 #46227F
split-complementary
#7F222D #227F46 #225C7F
monochromatic
#1E080B #4F151C #7F222D #AF2F3E #CF4C5C

Accessibility & contrast

On white

9.68
#7F222D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F222D
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F222D#FFFFFF#000000##FFFFFF
##7F222D1.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B382D
Deuteranopia (green-blind)
#534C2A
Tritanopia (blue-blind)
#8C0727
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f222d;
/* rgb */ color: rgb(127, 34, 45);
/* oklch */ color: oklch(40.4% 0.127 18.4);
Tailwind
colors: {
  custom: {
    50: '#aa6465',
    500: '#7f222d',
    950: '#000000',
  },
}
SCSS
$custom: #7f222d;
$custom-light: #aa6465;
$custom-dark: #000000;
JSON
{
  "hex": "#7f222d",
  "rgb": {
    "r": 127,
    "g": 34,
    "b": 45
  },
  "hsl": {
    "h": 352.903,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40384,
    "c": 0.12671,
    "h": 18.4
  },
  "luminance": 0.05846
}

Semantic roles & 50–950 ramp

primary
#7F222D
secondary
#4BB2A5
accent
#E1CF47
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110605
muted
#807A7A

Preview Lab

Preview with #7F222D

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

Preview Lab → · Contrast checker → · Palette generator →

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