#7F2D22#7F2D22

#7F2D22 is a dark, moderate red. Relative luminance 0.065; OKLCH L 41.5% C 0.116 H 30.3°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#7F2D22
RGBrgb(127, 45, 34)
HSLhsl(7, 58%, 32%)
HSVhsv(7, 73%, 50%)
CMYKcmyk(0%, 64.6%, 73.2%, 50.2%)
CIE-LABlab(30.65, 34.79, 25.61)
CIE-LCHlch(30.65, 43.20, 36.36°)
OKLaboklab(41.55% 0.1002 0.0586)
OKLCHoklch(41.55% 0.116 30.3)
XYZxyz(9.9805, 6.5057, 2.2432)
Luminance0.0650 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2D22 #22747F
analogous
#7F2246 #7F2D22 #7F5C22
triadic
#7F2D22 #227F2D #2D227F
tetradic
#7F2D22 #467F22 #22747F #5C227F
square
#7F2D22 #467F22 #22747F #5C227F
split-complementary
#7F2D22 #227F5C #22467F
monochromatic
#1E0B08 #4F1C15 #7F2D22 #AF3E2F #CF5C4C

Accessibility & contrast

On white

9.13
#7F2D22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#7F2D22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2D22
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2D22#FFFFFF#000000##FFFFFF
##7F2D221.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433D20
Deuteranopia (green-blind)
#584F20
Tritanopia (blue-blind)
#8C1A2B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7f2d22;
/* rgb */ color: rgb(127, 45, 34);
/* oklch */ color: oklch(41.5% 0.116 30.3);
Tailwind
colors: {
  custom: {
    50: '#aa6a5d',
    500: '#7f2d22',
    950: '#000000',
  },
}
SCSS
$custom: #7f2d22;
$custom-light: #aa6a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2d22",
  "rgb": {
    "r": 127,
    "g": 45,
    "b": 34
  },
  "hsl": {
    "h": 7.097,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41547,
    "c": 0.11606,
    "h": 30.3
  },
  "luminance": 0.06504
}

Semantic roles & 50–950 ramp

primary
#7F2D22
secondary
#4BA5B2
accent
#CFE147
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110704
muted
#807A79

Preview Lab

Preview with #7F2D22

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

Preview Lab → · Contrast checker → · Palette generator →

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