#7E2F25#7E2F25

#7E2F25 is a dark, moderate red. Relative luminance 0.066; OKLCH L 41.7% C 0.112 H 29.8°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#7E2F25
RGBrgb(126, 47, 37)
HSLhsl(7, 55%, 32%)
HSVhsv(7, 71%, 49%)
CMYKcmyk(0%, 62.7%, 70.6%, 50.6%)
CIE-LABlab(30.89, 33.59, 23.99)
CIE-LCHlch(30.89, 41.28, 35.53°)
OKLaboklab(41.7% 0.0972 0.0556)
OKLCHoklch(41.7% 0.112 29.8)
XYZxyz(9.9556, 6.6036, 2.5003)
Luminance0.0660 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2F25 #25747E
analogous
#7E2547 #7E2F25 #7E5C25
triadic
#7E2F25 #257E2F #2F257E
tetradic
#7E2F25 #477E25 #25747E #5C257E
square
#7E2F25 #477E25 #25747E #5C257E
split-complementary
#7E2F25 #257E5C #25477E
monochromatic
#1F0C09 #4F1D17 #7E2F25 #AD4133 #CC5F51

Accessibility & contrast

On white

9.05
#7E2F25 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#7E2F25 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2F25
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2F25#FFFFFF#000000##FFFFFF
##7E2F251.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443E24
Deuteranopia (green-blind)
#584F23
Tritanopia (blue-blind)
#8B1E2D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7e2f25;
/* rgb */ color: rgb(126, 47, 37);
/* oklch */ color: oklch(41.7% 0.112 29.8);
Tailwind
colors: {
  custom: {
    50: '#a96b60',
    500: '#7e2f25',
    950: '#000000',
  },
}
SCSS
$custom: #7e2f25;
$custom-light: #a96b60;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2f25",
  "rgb": {
    "r": 126,
    "g": 47,
    "b": 37
  },
  "hsl": {
    "h": 6.742,
    "s": 54.601,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41701,
    "c": 0.112,
    "h": 29.8
  },
  "luminance": 0.06602
}

Semantic roles & 50–950 ramp

primary
#7E2F25
secondary
#4FA5B0
accent
#CDDE4A
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110704
muted
#807A79

Preview Lab

Preview with #7E2F25

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

Preview Lab → · Contrast checker → · Palette generator →

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