#7E2230#7E2230

#7E2230 is a dark, vivid red. Relative luminance 0.058; OKLCH L 40.3% C 0.126 H 16.3°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#7E2230
RGBrgb(126, 34, 48)
HSLhsl(351, 58%, 31%)
HSVhsv(351, 73%, 49%)
CMYKcmyk(0%, 73%, 61.9%, 50.6%)
CIE-LABlab(28.89, 40.26, 14.40)
CIE-LCHlch(28.89, 42.76, 19.67°)
OKLaboklab(40.27% 0.1205 0.0352)
OKLCHoklch(40.27% 0.126 16.3)
XYZxyz(9.7107, 5.7944, 3.4028)
Luminance0.0579 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2230 #227E70
analogous
#7E225E #7E2230 #7E4222
triadic
#7E2230 #307E22 #22307E
tetradic
#7E2230 #5E7E22 #227E70 #42227E
square
#7E2230 #5E7E22 #227E70 #42227E
split-complementary
#7E2230 #227E42 #225E7E
monochromatic
#1E080B #4E151E #7E2230 #AE2F42 #CF4C60

Accessibility & contrast

On white

9.73
#7E2230 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7E2230 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2230
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2230#FFFFFF#000000##FFFFFF
##7E22301.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3830
Deuteranopia (green-blind)
#524B2E
Tritanopia (blue-blind)
#8A0A28
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e2230;
/* rgb */ color: rgb(126, 34, 48);
/* oklch */ color: oklch(40.3% 0.126 16.3);
Tailwind
colors: {
  custom: {
    50: '#a96468',
    500: '#7e2230',
    950: '#000000',
  },
}
SCSS
$custom: #7e2230;
$custom-light: #a96468;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2230",
  "rgb": {
    "r": 126,
    "g": 34,
    "b": 48
  },
  "hsl": {
    "h": 350.87,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40267,
    "c": 0.12559,
    "h": 16.3
  },
  "luminance": 0.05793
}

Semantic roles & 50–950 ramp

primary
#7E2230
secondary
#4BB1A1
accent
#E1C947
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7E2230

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

Preview Lab → · Contrast checker → · Palette generator →

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