#7F2D2D#7F2D2D

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

Color values

HEX#7F2D2D
RGBrgb(127, 45, 45)
HSLhsl(0, 48%, 34%)
HSVhsv(0, 65%, 50%)
CMYKcmyk(0%, 64.6%, 64.6%, 50.2%)
CIE-LABlab(30.83, 35.48, 18.91)
CIE-LCHlch(30.83, 40.21, 28.06°)
OKLaboklab(41.74% 0.1047 0.0454)
OKLCHoklch(41.74% 0.114 23.4)
XYZxyz(10.1654, 6.5796, 3.2168)
Luminance0.0658 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2D2D #2D7F7F
analogous
#7F2D56 #7F2D2D #7F562D
triadic
#7F2D2D #2D7F2D #2D2D7F
tetradic
#7F2D2D #567F2D #2D7F7F #562D7F
square
#7F2D2D #567F2D #2D7F7F #562D7F
split-complementary
#7F2D2D #2D7F56 #2D567F
monochromatic
#250D0D #521D1D #7F2D2D #AC3D3D #C76060

Accessibility & contrast

On white

9.07
#7F2D2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F2D2D
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2D2D#FFFFFF#000000##FFFFFF
##7F2D2D1.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f2d2d;
/* rgb */ color: rgb(127, 45, 45);
/* oklch */ color: oklch(41.7% 0.114 23.4);
Tailwind
colors: {
  custom: {
    50: '#aa6a66',
    500: '#7f2d2d',
    950: '#000000',
  },
}
SCSS
$custom: #7f2d2d;
$custom-light: #aa6a66;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2d2d",
  "rgb": {
    "r": 127,
    "g": 45,
    "b": 45
  },
  "hsl": {
    "h": 0,
    "s": 47.674,
    "l": 33.725
  },
  "oklch": {
    "l": 0.41736,
    "c": 0.11405,
    "h": 23.4
  },
  "luminance": 0.06578
}

Semantic roles & 50–950 ramp

primary
#7F2D2D
secondary
#5BADAD
accent
#D7D751
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110705
muted
#807A7A

Preview Lab

Preview with #7F2D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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