#7E2727#7E2727

#7E2727 is a dark, vivid red. Relative luminance 0.060; OKLCH L 40.7% C 0.121 H 24.2°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#7E2727
RGBrgb(126, 39, 39)
HSLhsl(0, 53%, 32%)
HSVhsv(0, 69%, 49%)
CMYKcmyk(0%, 69%, 69%, 50.6%)
CIE-LABlab(29.50, 37.52, 21.05)
CIE-LCHlch(29.50, 43.02, 29.30°)
OKLaboklab(40.67% 0.11 0.0495)
OKLCHoklch(40.67% 0.121 24.2)
XYZxyz(9.6969, 6.0345, 2.5732)
Luminance0.0603 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2727 #277E7E
analogous
#7E2753 #7E2727 #7E5327
triadic
#7E2727 #277E27 #27277E
tetradic
#7E2727 #537E27 #277E7E #53277E
square
#7E2727 #537E27 #277E7E #53277E
split-complementary
#7E2727 #277E53 #27537E
monochromatic
#210A0A #4F1919 #7E2727 #AD3535 #CA5555

Accessibility & contrast

On white

9.52
#7E2727 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#7E2727 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2727
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2727#FFFFFF#000000##FFFFFF
##7E27271.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3A26
Deuteranopia (green-blind)
#544C24
Tritanopia (blue-blind)
#8B1128
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e2727;
/* rgb */ color: rgb(126, 39, 39);
/* oklch */ color: oklch(40.7% 0.121 24.2);
Tailwind
colors: {
  custom: {
    50: '#aa6761',
    500: '#7e2727',
    950: '#000000',
  },
}
SCSS
$custom: #7e2727;
$custom-light: #aa6761;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2727",
  "rgb": {
    "r": 126,
    "g": 39,
    "b": 39
  },
  "hsl": {
    "h": 0,
    "s": 52.727,
    "l": 32.353
  },
  "oklch": {
    "l": 0.40669,
    "c": 0.12056,
    "h": 24.2
  },
  "luminance": 0.06033
}

Semantic roles & 50–950 ramp

primary
#7E2727
secondary
#52AFAF
accent
#DCDC4C
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110605
muted
#807A79

Preview Lab

Preview with #7E2727

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

Preview Lab → · Contrast checker → · Palette generator →

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