#7E2030#7E2030

#7E2030 is a dark, vivid red. Relative luminance 0.057; OKLCH L 40.1% C 0.128 H 15.6°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#7E2030
RGBrgb(126, 32, 48)
HSLhsl(350, 59%, 31%)
HSVhsv(350, 75%, 49%)
CMYKcmyk(0%, 74.6%, 61.9%, 50.6%)
CIE-LABlab(28.60, 41.06, 14.01)
CIE-LCHlch(28.60, 43.38, 18.84°)
OKLaboklab(40.05% 0.1231 0.0344)
OKLCHoklch(40.05% 0.128 15.6)
XYZxyz(9.6552, 5.6834, 3.3843)
Luminance0.0568 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2030 #207E6E
analogous
#7E205F #7E2030 #7E3F20
triadic
#7E2030 #307E20 #20307E
tetradic
#7E2030 #5F7E20 #207E6E #3F207E
square
#7E2030 #5F7E20 #207E6E #3F207E
split-complementary
#7E2030 #207E3F #205F7E
monochromatic
#1C070B #4D141D #7E2030 #AF2C43 #D0485F

Accessibility & contrast

On white

9.83
#7E2030 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7E2030 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2030
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2030#FFFFFF#000000##FFFFFF
##7E20301.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393730
Deuteranopia (green-blind)
#514B2E
Tritanopia (blue-blind)
#8A0527
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e2030;
/* rgb */ color: rgb(126, 32, 48);
/* oklch */ color: oklch(40.1% 0.128 15.6);
Tailwind
colors: {
  custom: {
    50: '#a96368',
    500: '#7e2030',
    950: '#000000',
  },
}
SCSS
$custom: #7e2030;
$custom-light: #a96368;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2030",
  "rgb": {
    "r": 126,
    "g": 32,
    "b": 48
  },
  "hsl": {
    "h": 349.787,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40053,
    "c": 0.1278,
    "h": 15.6
  },
  "luminance": 0.05682
}

Semantic roles & 50–950 ramp

primary
#7E2030
secondary
#49B19F
accent
#E3C845
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7E2030

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

Preview Lab → · Contrast checker → · Palette generator →

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