#7F2E25#7F2E25

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

Color values

HEX#7F2E25
RGBrgb(127, 46, 37)
HSLhsl(6, 55%, 32%)
HSVhsv(6, 71%, 50%)
CMYKcmyk(0%, 63.8%, 70.9%, 50.2%)
CIE-LABlab(30.88, 34.48, 24.03)
CIE-LCHlch(30.88, 42.02, 34.88°)
OKLaboklab(41.73% 0.0998 0.0557)
OKLCHoklch(41.73% 0.114 29.2)
XYZxyz(10.0643, 6.6010, 2.4941)
Luminance0.0660 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2E25 #25767F
analogous
#7F2549 #7F2E25 #7F5B25
triadic
#7F2E25 #257F2E #2E257F
tetradic
#7F2E25 #497F25 #25767F #5B257F
square
#7F2E25 #497F25 #25767F #5B257F
split-complementary
#7F2E25 #257F5B #25497F
monochromatic
#200C09 #501D17 #7F2E25 #AE3F33 #CD5E52

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F2E25#FFFFFF#000000##FFFFFF
##7F2E251.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)
#8C1C2C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7f2e25;
/* rgb */ color: rgb(127, 46, 37);
/* oklch */ color: oklch(41.7% 0.114 29.2);
Tailwind
colors: {
  custom: {
    50: '#aa6a60',
    500: '#7f2e25',
    950: '#000000',
  },
}
SCSS
$custom: #7f2e25;
$custom-light: #aa6a60;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2e25",
  "rgb": {
    "r": 127,
    "g": 46,
    "b": 37
  },
  "hsl": {
    "h": 6,
    "s": 54.878,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41731,
    "c": 0.11431,
    "h": 29.2
  },
  "luminance": 0.066
}

Semantic roles & 50–950 ramp

primary
#7F2E25
secondary
#4FA7B1
accent
#CFDE4A
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110704
muted
#807A79

Preview Lab

Preview with #7F2E25

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

Preview Lab → · Contrast checker → · Palette generator →

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