#7E2235#7E2235

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

Color values

HEX#7E2235
RGBrgb(126, 34, 53)
HSLhsl(348, 58%, 31%)
HSVhsv(348, 73%, 49%)
CMYKcmyk(0%, 73%, 57.9%, 50.6%)
CIE-LABlab(29.00, 40.65, 11.23)
CIE-LCHlch(29.00, 42.17, 15.44°)
OKLaboklab(40.39% 0.1227 0.0281)
OKLCHoklch(40.39% 0.126 12.9)
XYZxyz(9.8197, 5.8381, 3.9772)
Luminance0.0584 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2235 #227E6B
analogous
#7E2263 #7E2235 #7E3D22
triadic
#7E2235 #357E22 #22357E
tetradic
#7E2235 #637E22 #227E6B #3D227E
square
#7E2235 #637E22 #227E6B #3D227E
split-complementary
#7E2235 #227E3D #22637E
monochromatic
#1E080C #4E1521 #7E2235 #AE2F49 #CF4C67

Accessibility & contrast

On white

9.69
#7E2235 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#7E2235 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2235
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2235#FFFFFF#000000##FFFFFF
##7E22351.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393835
Deuteranopia (green-blind)
#514B33
Tritanopia (blue-blind)
#8A0C2A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e2235;
/* rgb */ color: rgb(126, 34, 53);
/* oklch */ color: oklch(40.4% 0.126 12.9);
Tailwind
colors: {
  custom: {
    50: '#a9646c',
    500: '#7e2235',
    950: '#000000',
  },
}
SCSS
$custom: #7e2235;
$custom-light: #a9646c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2235",
  "rgb": {
    "r": 126,
    "g": 34,
    "b": 53
  },
  "hsl": {
    "h": 347.609,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40387,
    "c": 0.12583,
    "h": 12.9
  },
  "luminance": 0.05837
}

Semantic roles & 50–950 ramp

primary
#7E2235
secondary
#4BB19C
accent
#E1C147
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7E2235

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

Preview Lab → · Contrast checker → · Palette generator →

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