#7E2D28#7E2D28

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

Color values

HEX#7E2D28
RGBrgb(126, 45, 40)
HSLhsl(3, 52%, 33%)
HSVhsv(3, 68%, 49%)
CMYKcmyk(0%, 64.3%, 68.3%, 50.6%)
CIE-LABlab(30.56, 34.77, 21.72)
CIE-LCHlch(30.56, 41.00, 32.00°)
OKLaboklab(41.47% 0.1015 0.0511)
OKLCHoklch(41.47% 0.114 26.7)
XYZxyz(9.9266, 6.4669, 2.7326)
Luminance0.0647 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2D28 #28797E
analogous
#7E284E #7E2D28 #7E5828
triadic
#7E2D28 #287E2D #2D287E
tetradic
#7E2D28 #4E7E28 #28797E #58287E
square
#7E2D28 #4E7E28 #28797E #58287E
split-complementary
#7E2D28 #287E58 #284E7E
monochromatic
#210C0B #501C19 #7E2D28 #AC3E37 #CA5D57

Accessibility & contrast

On white

9.16
#7E2D28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#7E2D28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2D28
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2D28#FFFFFF#000000##FFFFFF
##7E2D281.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423D27
Deuteranopia (green-blind)
#574E26
Tritanopia (blue-blind)
#8A1B2C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7e2d28;
/* rgb */ color: rgb(126, 45, 40);
/* oklch */ color: oklch(41.5% 0.114 26.7);
Tailwind
colors: {
  custom: {
    50: '#a96a62',
    500: '#7e2d28',
    950: '#000000',
  },
}
SCSS
$custom: #7e2d28;
$custom-light: #a96a62;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2d28",
  "rgb": {
    "r": 126,
    "g": 45,
    "b": 40
  },
  "hsl": {
    "h": 3.488,
    "s": 51.807,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41471,
    "c": 0.11363,
    "h": 26.7
  },
  "luminance": 0.06466
}

Semantic roles & 50–950 ramp

primary
#7E2D28
secondary
#53A9AF
accent
#D3DB4D
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110705
muted
#807A79

Preview Lab

Preview with #7E2D28

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

Preview Lab → · Contrast checker → · Palette generator →

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