#7E2837#7E2837

#7E2837 is a dark, moderate red. Relative luminance 0.062; OKLCH L 41.1% C 0.119 H 13.8°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#7E2837
RGBrgb(126, 40, 55)
HSLhsl(350, 52%, 33%)
HSVhsv(350, 68%, 49%)
CMYKcmyk(0%, 68.3%, 56.3%, 50.6%)
CIE-LABlab(29.99, 38.25, 11.25)
CIE-LCHlch(29.99, 39.87, 16.39°)
OKLaboklab(41.14% 0.1153 0.0282)
OKLCHoklch(41.14% 0.119 13.8)
XYZxyz(10.0535, 6.2304, 4.2869)
Luminance0.0623 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2837 #287E6F
analogous
#7E2862 #7E2837 #7E4428
triadic
#7E2837 #377E28 #28377E
tetradic
#7E2837 #627E28 #287E6F #44287E
square
#7E2837 #627E28 #287E6F #44287E
split-complementary
#7E2837 #287E44 #28627E
monochromatic
#210B0E #501923 #7E2837 #AC374B #CA576B

Accessibility & contrast

On white

9.35
#7E2837 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#7E2837 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2837
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2837#FFFFFF#000000##FFFFFF
##7E28371.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3B37
Deuteranopia (green-blind)
#534D35
Tritanopia (blue-blind)
#8A182E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7e2837;
/* rgb */ color: rgb(126, 40, 55);
/* oklch */ color: oklch(41.1% 0.119 13.8);
Tailwind
colors: {
  custom: {
    50: '#a8676d',
    500: '#7e2837',
    950: '#000000',
  },
}
SCSS
$custom: #7e2837;
$custom-light: #a8676d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2837",
  "rgb": {
    "r": 126,
    "g": 40,
    "b": 55
  },
  "hsl": {
    "h": 349.535,
    "s": 51.807,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41137,
    "c": 0.11869,
    "h": 13.8
  },
  "luminance": 0.06229
}

Semantic roles & 50–950 ramp

primary
#7E2837
secondary
#53AF9F
accent
#DBC24D
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100607
muted
#7F7A7A

Preview Lab

Preview with #7E2837

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

Preview Lab → · Contrast checker → · Palette generator →

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