#7F1B2F#7F1B2F

#7F1B2F is a dark, vivid red. Relative luminance 0.055; OKLCH L 39.7% C 0.134 H 14.9°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#7F1B2F
RGBrgb(127, 27, 47)
HSLhsl(348, 65%, 30%)
HSVhsv(348, 79%, 50%)
CMYKcmyk(0%, 78.7%, 63%, 50.2%)
CIE-LABlab(28.12, 43.15, 14.08)
CIE-LCHlch(28.12, 45.39, 18.07°)
OKLaboklab(39.73% 0.1295 0.0344)
OKLCHoklch(39.73% 0.134 14.9)
XYZxyz(9.6584, 5.5026, 3.2423)
Luminance0.0550 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1B2F #1B7F6B
analogous
#7F1B61 #7F1B2F #7F391B
triadic
#7F1B2F #2F7F1B #1B2F7F
tetradic
#7F1B2F #617F1B #1B7F6B #391B7F
square
#7F1B2F #617F1B #1B7F6B #391B7F
split-complementary
#7F1B2F #1B7F39 #1B617F
monochromatic
#1A060A #4D101C #7F1B2F #B12642 #D63E5D

Accessibility & contrast

On white

10.00
#7F1B2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#7F1B2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1B2F
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1B2F#FFFFFF#000000##FFFFFF
##7F1B2F1.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37352F
Deuteranopia (green-blind)
#504A2C
Tritanopia (blue-blind)
#8C0023
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7f1b2f;
/* rgb */ color: rgb(127, 27, 47);
/* oklch */ color: oklch(39.7% 0.134 14.9);
Tailwind
colors: {
  custom: {
    50: '#aa6167',
    500: '#7f1b2f',
    950: '#000000',
  },
}
SCSS
$custom: #7f1b2f;
$custom-light: #aa6167;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1b2f",
  "rgb": {
    "r": 127,
    "g": 27,
    "b": 47
  },
  "hsl": {
    "h": 348,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.39728,
    "c": 0.13396,
    "h": 14.9
  },
  "luminance": 0.05501
}

Semantic roles & 50–950 ramp

primary
#7F1B2F
secondary
#43B39C
accent
#E8C640
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110506
muted
#807A7A

Preview Lab

Preview with #7F1B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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