#7F2E2D#7F2E2D

#7F2E2D is a dark, moderate red. Relative luminance 0.067; OKLCH L 41.9% C 0.113 H 24.0°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#7F2E2D
RGBrgb(127, 46, 45)
HSLhsl(1, 48%, 34%)
HSVhsv(1, 65%, 50%)
CMYKcmyk(0%, 63.8%, 64.6%, 50.2%)
CIE-LABlab(31.01, 35.00, 19.15)
CIE-LCHlch(31.01, 39.89, 28.68°)
OKLaboklab(41.87% 0.1031 0.0459)
OKLCHoklch(41.87% 0.113 24)
XYZxyz(10.2040, 6.6568, 3.2297)
Luminance0.0665 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2E2D #2D7E7F
analogous
#7F2D55 #7F2E2D #7F572D
triadic
#7F2E2D #2D7F2E #2E2D7F
tetradic
#7F2E2D #557F2D #2D7E7F #572D7F
square
#7F2E2D #557F2D #2D7E7F #572D7F
split-complementary
#7F2E2D #2D7F57 #2D557F
monochromatic
#250D0D #521E1D #7F2E2D #AC3E3D #C76160

Accessibility & contrast

On white

9.01
#7F2E2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#7F2E2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2E2D
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2E2D#FFFFFF#000000##FFFFFF
##7F2E2D1.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433E2C
Deuteranopia (green-blind)
#574F2B
Tritanopia (blue-blind)
#8B1E2E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7f2e2d;
/* rgb */ color: rgb(127, 46, 45);
/* oklch */ color: oklch(41.9% 0.113 24.0);
Tailwind
colors: {
  custom: {
    50: '#aa6b66',
    500: '#7f2e2d',
    950: '#000000',
  },
}
SCSS
$custom: #7f2e2d;
$custom-light: #aa6b66;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2e2d",
  "rgb": {
    "r": 127,
    "g": 46,
    "b": 45
  },
  "hsl": {
    "h": 0.732,
    "s": 47.674,
    "l": 33.725
  },
  "oklch": {
    "l": 0.41873,
    "c": 0.11285,
    "h": 24
  },
  "luminance": 0.06655
}

Semantic roles & 50–950 ramp

primary
#7F2E2D
secondary
#5BACAD
accent
#D6D751
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110705
muted
#807A7A

Preview Lab

Preview with #7F2E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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