#7F1E2D#7F1E2D

#7F1E2D is a dark, vivid red. Relative luminance 0.056; OKLCH L 40.0% C 0.131 H 17.0°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#7F1E2D
RGBrgb(127, 30, 45)
HSLhsl(351, 62%, 31%)
HSVhsv(351, 76%, 50%)
CMYKcmyk(0%, 76.4%, 64.6%, 50.2%)
CIE-LABlab(28.46, 41.94, 15.86)
CIE-LCHlch(28.46, 44.84, 20.72°)
OKLaboklab(39.97% 0.1252 0.0384)
OKLCHoklch(39.97% 0.131 17)
XYZxyz(9.6913, 5.6315, 3.0588)
Luminance0.0563 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1E2D #1E7F70
analogous
#7F1E5D #7F1E2D #7F401E
triadic
#7F1E2D #2D7F1E #1E2D7F
tetradic
#7F1E2D #5D7F1E #1E7F70 #401E7F
square
#7F1E2D #5D7F1E #1E7F70 #401E7F
split-complementary
#7F1E2D #1E7F40 #1E5D7F
monochromatic
#1C070A #4D121B #7F1E2D #B12A3F #D3445A

Accessibility & contrast

On white

9.88
#7F1E2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#7F1E2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1E2D
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1E2D#FFFFFF#000000##FFFFFF
##7F1E2D1.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39362D
Deuteranopia (green-blind)
#514B2A
Tritanopia (blue-blind)
#8C0024
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7f1e2d;
/* rgb */ color: rgb(127, 30, 45);
/* oklch */ color: oklch(40.0% 0.131 17.0);
Tailwind
colors: {
  custom: {
    50: '#aa6265',
    500: '#7f1e2d',
    950: '#000000',
  },
}
SCSS
$custom: #7f1e2d;
$custom-light: #aa6265;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1e2d",
  "rgb": {
    "r": 127,
    "g": 30,
    "b": 45
  },
  "hsl": {
    "h": 350.722,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.39968,
    "c": 0.13092,
    "h": 17
  },
  "luminance": 0.0563
}

Semantic roles & 50–950 ramp

primary
#7F1E2D
secondary
#47B2A2
accent
#E5CC43
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110605
muted
#807A7A

Preview Lab

Preview with #7F1E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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