#7E2535#7E2535

#7E2535 is a dark, vivid red. Relative luminance 0.060; OKLCH L 40.7% C 0.122 H 14.0°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#7E2535
RGBrgb(126, 37, 53)
HSLhsl(349, 55%, 32%)
HSVhsv(349, 71%, 49%)
CMYKcmyk(0%, 70.6%, 57.9%, 50.6%)
CIE-LABlab(29.46, 39.40, 11.85)
CIE-LCHlch(29.46, 41.14, 16.74°)
OKLaboklab(40.73% 0.1187 0.0296)
OKLCHoklch(40.73% 0.122 14)
XYZxyz(9.9093, 6.0171, 4.0071)
Luminance0.0602 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2535 #257E6E
analogous
#7E2562 #7E2535 #7E4125
triadic
#7E2535 #357E25 #25357E
tetradic
#7E2535 #627E25 #257E6E #41257E
square
#7E2535 #627E25 #257E6E #41257E
split-complementary
#7E2535 #257E41 #25627E
monochromatic
#1F090D #4F1721 #7E2535 #AD3349 #CC5167

Accessibility & contrast

On white

9.53
#7E2535 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7E2535 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2535
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2535#FFFFFF#000000##FFFFFF
##7E25351.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3A35
Deuteranopia (green-blind)
#524C33
Tritanopia (blue-blind)
#8A122B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e2535;
/* rgb */ color: rgb(126, 37, 53);
/* oklch */ color: oklch(40.7% 0.122 14.0);
Tailwind
colors: {
  custom: {
    50: '#a9666c',
    500: '#7e2535',
    950: '#000000',
  },
}
SCSS
$custom: #7e2535;
$custom-light: #a9666c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2535",
  "rgb": {
    "r": 126,
    "g": 37,
    "b": 53
  },
  "hsl": {
    "h": 349.213,
    "s": 54.601,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40726,
    "c": 0.12228,
    "h": 14
  },
  "luminance": 0.06016
}

Semantic roles & 50–950 ramp

primary
#7E2535
secondary
#4FB09F
accent
#DEC34A
background
#FAF6F6
surface
#F5EBEB
border
#CFC6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7E2535

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

Preview Lab → · Contrast checker → · Palette generator →

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