#7E2A38#7E2A38

#7E2A38 is a dark, moderate red. Relative luminance 0.064; OKLCH L 41.4% C 0.116 H 13.9°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#7E2A38
RGBrgb(126, 42, 56)
HSLhsl(350, 50%, 33%)
HSVhsv(350, 67%, 49%)
CMYKcmyk(0%, 66.7%, 55.6%, 50.6%)
CIE-LABlab(30.35, 37.42, 11.08)
CIE-LCHlch(30.35, 39.02, 16.50°)
OKLaboklab(41.41% 0.1128 0.0279)
OKLCHoklch(41.41% 0.116 13.9)
XYZxyz(10.1468, 6.3784, 4.4374)
Luminance0.0638 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2A38 #2A7E70
analogous
#7E2A62 #7E2A38 #7E462A
triadic
#7E2A38 #387E2A #2A387E
tetradic
#7E2A38 #627E2A #2A7E70 #462A7E
square
#7E2A38 #627E2A #2A7E70 #462A7E
split-complementary
#7E2A38 #2A7E46 #2A627E
monochromatic
#220B0F #501B24 #7E2A38 #AC394C #C85A6D

Accessibility & contrast

On white

9.23
#7E2A38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#7E2A38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2A38
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2A38#FFFFFF#000000##FFFFFF
##7E2A381.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3D38
Deuteranopia (green-blind)
#534E36
Tritanopia (blue-blind)
#8A1B30
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e2a38;
/* rgb */ color: rgb(126, 42, 56);
/* oklch */ color: oklch(41.4% 0.116 13.9);
Tailwind
colors: {
  custom: {
    50: '#a8696e',
    500: '#7e2a38',
    950: '#000000',
  },
}
SCSS
$custom: #7e2a38;
$custom-light: #a8696e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2a38",
  "rgb": {
    "r": 126,
    "g": 42,
    "b": 56
  },
  "hsl": {
    "h": 350,
    "s": 50,
    "l": 32.941
  },
  "oklch": {
    "l": 0.41414,
    "c": 0.11619,
    "h": 13.9
  },
  "luminance": 0.06377
}

Semantic roles & 50–950 ramp

primary
#7E2A38
secondary
#56AE9F
accent
#DAC24E
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100607
muted
#7F7A7A

Preview Lab

Preview with #7E2A38

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

Preview Lab → · Contrast checker → · Palette generator →

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