#7E2E28#7E2E28

#7E2E28 is a dark, moderate red. Relative luminance 0.065; OKLCH L 41.6% C 0.112 H 27.3°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#7E2E28
RGBrgb(126, 46, 40)
HSLhsl(4, 52%, 33%)
HSVhsv(4, 68%, 49%)
CMYKcmyk(0%, 63.5%, 68.3%, 50.6%)
CIE-LABlab(30.75, 34.28, 21.95)
CIE-LCHlch(30.75, 40.70, 32.63°)
OKLaboklab(41.61% 0.1 0.0516)
OKLCHoklch(41.61% 0.112 27.3)
XYZxyz(9.9652, 6.5441, 2.7455)
Luminance0.0654 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2E28 #28787E
analogous
#7E284D #7E2E28 #7E5928
triadic
#7E2E28 #287E2E #2E287E
tetradic
#7E2E28 #4D7E28 #28787E #59287E
square
#7E2E28 #4D7E28 #28787E #59287E
split-complementary
#7E2E28 #287E59 #284D7E
monochromatic
#210C0B #501D19 #7E2E28 #AC3F37 #CA5F57

Accessibility & contrast

On white

9.10
#7E2E28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#7E2E28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2E28
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2E28#FFFFFF#000000##FFFFFF
##7E2E281.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433E27
Deuteranopia (green-blind)
#574F26
Tritanopia (blue-blind)
#8A1D2D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7e2e28;
/* rgb */ color: rgb(126, 46, 40);
/* oklch */ color: oklch(41.6% 0.112 27.3);
Tailwind
colors: {
  custom: {
    50: '#a96a62',
    500: '#7e2e28',
    950: '#000000',
  },
}
SCSS
$custom: #7e2e28;
$custom-light: #a96a62;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2e28",
  "rgb": {
    "r": 126,
    "g": 46,
    "b": 40
  },
  "hsl": {
    "h": 4.186,
    "s": 51.807,
    "l": 32.549
  },
  "oklch": {
    "l": 0.4161,
    "c": 0.11249,
    "h": 27.3
  },
  "luminance": 0.06543
}

Semantic roles & 50–950 ramp

primary
#7E2E28
secondary
#53A8AF
accent
#D1DB4D
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110705
muted
#807A79

Preview Lab

Preview with #7E2E28

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

Preview Lab → · Contrast checker → · Palette generator →

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