#7F222C#7F222C

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

Color values

HEX#7F222C
RGBrgb(127, 34, 44)
HSLhsl(354, 58%, 32%)
HSVhsv(354, 73%, 50%)
CMYKcmyk(0%, 73.2%, 65.4%, 50.2%)
CIE-LABlab(29.00, 40.32, 17.22)
CIE-LCHlch(29.00, 43.84, 23.13°)
OKLaboklab(40.36% 0.1198 0.0414)
OKLCHoklch(40.36% 0.127 19.1)
XYZxyz(9.7800, 5.8393, 2.9945)
Luminance0.0584 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F222C #227F75
analogous
#7F225B #7F222C #7F4722
triadic
#7F222C #2C7F22 #222C7F
tetradic
#7F222C #5B7F22 #227F75 #47227F
square
#7F222C #5B7F22 #227F75 #47227F
split-complementary
#7F222C #227F47 #225B7F
monochromatic
#1E080B #4F151B #7F222C #AF2F3D #CF4C5A

Accessibility & contrast

On white

9.69
#7F222C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F222C
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F222C#FFFFFF#000000##FFFFFF
##7F222C1.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B382C
Deuteranopia (green-blind)
#534C29
Tritanopia (blue-blind)
#8C0626
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f222c;
/* rgb */ color: rgb(127, 34, 44);
/* oklch */ color: oklch(40.4% 0.127 19.1);
Tailwind
colors: {
  custom: {
    50: '#aa6465',
    500: '#7f222c',
    950: '#000000',
  },
}
SCSS
$custom: #7f222c;
$custom-light: #aa6465;
$custom-dark: #000000;
JSON
{
  "hex": "#7f222c",
  "rgb": {
    "r": 127,
    "g": 34,
    "b": 44
  },
  "hsl": {
    "h": 353.548,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40363,
    "c": 0.12674,
    "h": 19.1
  },
  "luminance": 0.05838
}

Semantic roles & 50–950 ramp

primary
#7F222C
secondary
#4BB2A7
accent
#E1D047
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110605
muted
#807A7A

Preview Lab

Preview with #7F222C

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

Preview Lab → · Contrast checker → · Palette generator →

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