#7E283D#7E283D

#7E283D is a dark, moderate red. Relative luminance 0.063; OKLCH L 41.3% C 0.119 H 9.3°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#7E283D
RGBrgb(126, 40, 61)
HSLhsl(345, 52%, 33%)
HSVhsv(345, 68%, 49%)
CMYKcmyk(0%, 68.3%, 51.6%, 50.6%)
CIE-LABlab(30.14, 38.79, 7.49)
CIE-LCHlch(30.14, 39.51, 10.93°)
OKLaboklab(41.3% 0.1178 0.0193)
OKLCHoklch(41.3% 0.119 9.3)
XYZxyz(10.2061, 6.2914, 5.0909)
Luminance0.0629 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E283D #287E69
analogous
#7E2868 #7E283D #7E3E28
triadic
#7E283D #3D7E28 #283D7E
tetradic
#7E283D #687E28 #287E69 #3E287E
square
#7E283D #687E28 #287E69 #3E287E
split-complementary
#7E283D #287E3E #28687E
monochromatic
#210B10 #501927 #7E283D #AC3753 #CA5773

Accessibility & contrast

On white

9.30
#7E283D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#7E283D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E283D
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E283D#FFFFFF#000000##FFFFFF
##7E283D1.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3C3D
Deuteranopia (green-blind)
#524D3B
Tritanopia (blue-blind)
#891A30
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e283d;
/* rgb */ color: rgb(126, 40, 61);
/* oklch */ color: oklch(41.3% 0.119 9.3);
Tailwind
colors: {
  custom: {
    50: '#a86872',
    500: '#7e283d',
    950: '#000000',
  },
}
SCSS
$custom: #7e283d;
$custom-light: #a86872;
$custom-dark: #000000;
JSON
{
  "hex": "#7e283d",
  "rgb": {
    "r": 126,
    "g": 40,
    "b": 61
  },
  "hsl": {
    "h": 345.349,
    "s": 51.807,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41297,
    "c": 0.11938,
    "h": 9.3
  },
  "luminance": 0.0629
}

Semantic roles & 50–950 ramp

primary
#7E283D
secondary
#53AF98
accent
#DBB84D
background
#FAF6F6
surface
#F4EBEC
border
#CEC6C7
text
#100607
muted
#7F7A7A

Preview Lab

Preview with #7E283D

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

Preview Lab → · Contrast checker → · Palette generator →

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