#7F2F2D#7F2F2D

#7F2F2D is a dark, moderate red. Relative luminance 0.067; OKLCH L 42.0% C 0.112 H 24.6°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#7F2F2D
RGBrgb(127, 47, 45)
HSLhsl(1, 48%, 34%)
HSVhsv(1, 65%, 50%)
CMYKcmyk(0%, 63%, 64.6%, 50.2%)
CIE-LABlab(31.20, 34.50, 19.38)
CIE-LCHlch(31.20, 39.57, 29.32°)
OKLaboklab(42.01% 0.1016 0.0464)
OKLCHoklch(42.01% 0.112 24.6)
XYZxyz(10.2435, 6.7359, 3.2429)
Luminance0.0673 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2F2D #2D7D7F
analogous
#7F2D54 #7F2F2D #7F582D
triadic
#7F2F2D #2D7F2F #2F2D7F
tetradic
#7F2F2D #547F2D #2D7D7F #582D7F
square
#7F2F2D #547F2D #2D7D7F #582D7F
split-complementary
#7F2F2D #2D7F58 #2D547F
monochromatic
#250E0D #521E1D #7F2F2D #AC403D #C76260

Accessibility & contrast

On white

8.95
#7F2F2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#7F2F2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2F2D
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2F2D#FFFFFF#000000##FFFFFF
##7F2F2D1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433F2C
Deuteranopia (green-blind)
#57502B
Tritanopia (blue-blind)
#8B1F2F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7f2f2d;
/* rgb */ color: rgb(127, 47, 45);
/* oklch */ color: oklch(42.0% 0.112 24.6);
Tailwind
colors: {
  custom: {
    50: '#a96b66',
    500: '#7f2f2d',
    950: '#000000',
  },
}
SCSS
$custom: #7f2f2d;
$custom-light: #a96b66;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2f2d",
  "rgb": {
    "r": 127,
    "g": 47,
    "b": 45
  },
  "hsl": {
    "h": 1.463,
    "s": 47.674,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42012,
    "c": 0.11166,
    "h": 24.6
  },
  "luminance": 0.06735
}

Semantic roles & 50–950 ramp

primary
#7F2F2D
secondary
#5BABAD
accent
#D4D751
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110705
muted
#807A7A

Preview Lab

Preview with #7F2F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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