#7E232F#7E232F

#7E232F is a dark, vivid red. Relative luminance 0.058; OKLCH L 40.4% C 0.124 H 17.3°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#7E232F
RGBrgb(126, 35, 47)
HSLhsl(352, 57%, 32%)
HSVhsv(352, 72%, 49%)
CMYKcmyk(0%, 72.2%, 62.7%, 50.6%)
CIE-LABlab(29.02, 39.78, 15.23)
CIE-LCHlch(29.02, 42.59, 20.95°)
OKLaboklab(40.36% 0.1188 0.0371)
OKLCHoklch(40.36% 0.124 17.3)
XYZxyz(9.7193, 5.8443, 3.3050)
Luminance0.0584 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E232F #237E72
analogous
#7E235D #7E232F #7E4523
triadic
#7E232F #2F7E23 #232F7E
tetradic
#7E232F #5D7E23 #237E72 #45237E
square
#7E232F #5D7E23 #237E72 #45237E
split-complementary
#7E232F #237E45 #235D7E
monochromatic
#1E080B #4E161D #7E232F #AE3041 #CE4E5F

Accessibility & contrast

On white

9.68
#7E232F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#7E232F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E232F
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E232F#FFFFFF#000000##FFFFFF
##7E232F1.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B382F
Deuteranopia (green-blind)
#524B2D
Tritanopia (blue-blind)
#8A0B28
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e232f;
/* rgb */ color: rgb(126, 35, 47);
/* oklch */ color: oklch(40.4% 0.124 17.3);
Tailwind
colors: {
  custom: {
    50: '#a96567',
    500: '#7e232f',
    950: '#000000',
  },
}
SCSS
$custom: #7e232f;
$custom-light: #a96567;
$custom-dark: #000000;
JSON
{
  "hex": "#7e232f",
  "rgb": {
    "r": 126,
    "g": 35,
    "b": 47
  },
  "hsl": {
    "h": 352.088,
    "s": 56.522,
    "l": 31.569
  },
  "oklch": {
    "l": 0.40356,
    "c": 0.12446,
    "h": 17.3
  },
  "luminance": 0.05843
}

Semantic roles & 50–950 ramp

primary
#7E232F
secondary
#4CB0A3
accent
#E0CC48
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7E232F

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

Preview Lab → · Contrast checker → · Palette generator →

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