#7E2F27#7E2F27

#7E2F27 is a dark, moderate red. Relative luminance 0.066; OKLCH L 41.7% C 0.112 H 28.5°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#7E2F27
RGBrgb(126, 47, 39)
HSLhsl(6, 53%, 32%)
HSVhsv(6, 69%, 49%)
CMYKcmyk(0%, 62.7%, 69%, 50.6%)
CIE-LABlab(30.92, 33.72, 22.79)
CIE-LCHlch(30.92, 40.69, 34.05°)
OKLaboklab(41.73% 0.098 0.0533)
OKLCHoklch(41.73% 0.112 28.5)
XYZxyz(9.9879, 6.6165, 2.6702)
Luminance0.0662 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2F27 #27767E
analogous
#7E274B #7E2F27 #7E5A27
triadic
#7E2F27 #277E2F #2F277E
tetradic
#7E2F27 #4B7E27 #27767E #5A277E
square
#7E2F27 #4B7E27 #27767E #5A277E
split-complementary
#7E2F27 #277E5A #274B7E
monochromatic
#210C0A #4F1E19 #7E2F27 #AD4035 #CA6055

Accessibility & contrast

On white

9.04
#7E2F27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#7E2F27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2F27
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2F27#FFFFFF#000000##FFFFFF
##7E2F271.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443E26
Deuteranopia (green-blind)
#584F25
Tritanopia (blue-blind)
#8A1E2E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7e2f27;
/* rgb */ color: rgb(126, 47, 39);
/* oklch */ color: oklch(41.7% 0.112 28.5);
Tailwind
colors: {
  custom: {
    50: '#a96b61',
    500: '#7e2f27',
    950: '#000000',
  },
}
SCSS
$custom: #7e2f27;
$custom-light: #a96b61;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2f27",
  "rgb": {
    "r": 126,
    "g": 47,
    "b": 39
  },
  "hsl": {
    "h": 5.517,
    "s": 52.727,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41734,
    "c": 0.11156,
    "h": 28.5
  },
  "luminance": 0.06615
}

Semantic roles & 50–950 ramp

primary
#7E2F27
secondary
#52A7AF
accent
#CFDC4C
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110705
muted
#807A79

Preview Lab

Preview with #7E2F27

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

Preview Lab → · Contrast checker → · Palette generator →

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