#7E1225#7E1225

#7E1225 is a dark, vivid red. Relative luminance 0.050; OKLCH L 38.6% C 0.140 H 18.4°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#7E1225
RGBrgb(126, 18, 37)
HSLhsl(349, 75%, 28%)
HSVhsv(349, 86%, 49%)
CMYKcmyk(0%, 85.7%, 70.6%, 50.6%)
CIE-LABlab(26.74, 44.96, 18.95)
CIE-LCHlch(26.74, 48.79, 22.85°)
OKLaboklab(38.61% 0.1332 0.0444)
OKLCHoklch(38.61% 0.14 18.4)
XYZxyz(9.1555, 5.0032, 2.2336)
Luminance0.0500 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1225 #127E6B
analogous
#7E125B #7E1225 #7E3512
triadic
#7E1225 #257E12 #12257E
tetradic
#7E1225 #5B7E12 #127E6B #35127E
square
#7E1225 #5B7E12 #127E6B #35127E
split-complementary
#7E1225 #127E35 #125B7E
monochromatic
#1B0408 #480A15 #7E1225 #B41A35 #E12A4A

Accessibility & contrast

On white

10.50
#7E1225 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#7E1225 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1225
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1225#FFFFFF#000000##FFFFFF
##7E12251.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343125
Deuteranopia (green-blind)
#4F4722
Tritanopia (blue-blind)
#8B001B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7e1225;
/* rgb */ color: rgb(126, 18, 37);
/* oklch */ color: oklch(38.6% 0.140 18.4);
Tailwind
colors: {
  custom: {
    50: '#ab5e5f',
    500: '#7e1225',
    950: '#000000',
  },
}
SCSS
$custom: #7e1225;
$custom-light: #ab5e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1225",
  "rgb": {
    "r": 126,
    "g": 18,
    "b": 37
  },
  "hsl": {
    "h": 349.444,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38608,
    "c": 0.14045,
    "h": 18.4
  },
  "luminance": 0.05002
}

Semantic roles & 50–950 ramp

primary
#7E1225
secondary
#38B49E
accent
#F2D136
background
#FBF5F5
surface
#F6EAE9
border
#D0C6C5
text
#110504
muted
#807979

Preview Lab

Preview with #7E1225

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

Preview Lab → · Contrast checker → · Palette generator →

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