#7F1B2D#7F1B2D

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

Color values

HEX#7F1B2D
RGBrgb(127, 27, 45)
HSLhsl(349, 65%, 30%)
HSVhsv(349, 79%, 50%)
CMYKcmyk(0%, 78.7%, 64.6%, 50.2%)
CIE-LABlab(28.08, 43.01, 15.36)
CIE-LCHlch(28.08, 45.67, 19.65°)
OKLaboklab(39.68% 0.1286 0.0372)
OKLCHoklch(39.68% 0.134 16.1)
XYZxyz(9.6190, 5.4868, 3.0347)
Luminance0.0549 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1B2D #1B7F6D
analogous
#7F1B5F #7F1B2D #7F3B1B
triadic
#7F1B2D #2D7F1B #1B2D7F
tetradic
#7F1B2D #5F7F1B #1B7F6D #3B1B7F
square
#7F1B2D #5F7F1B #1B7F6D #3B1B7F
split-complementary
#7F1B2D #1B7F3B #1B5F7F
monochromatic
#1A0609 #4D101B #7F1B2D #B1263F #D63E5A

Accessibility & contrast

On white

10.01
#7F1B2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1B2D
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1B2D#FFFFFF#000000##FFFFFF
##7F1B2D1.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37352D
Deuteranopia (green-blind)
#514A2A
Tritanopia (blue-blind)
#8C0023
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7f1b2d;
/* rgb */ color: rgb(127, 27, 45);
/* oklch */ color: oklch(39.7% 0.134 16.1);
Tailwind
colors: {
  custom: {
    50: '#ab6165',
    500: '#7f1b2d',
    950: '#000000',
  },
}
SCSS
$custom: #7f1b2d;
$custom-light: #ab6165;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1b2d",
  "rgb": {
    "r": 127,
    "g": 27,
    "b": 45
  },
  "hsl": {
    "h": 349.2,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.39683,
    "c": 0.13389,
    "h": 16.1
  },
  "luminance": 0.05485
}

Semantic roles & 50–950 ramp

primary
#7F1B2D
secondary
#43B39F
accent
#E8CA40
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110505
muted
#807A7A

Preview Lab

Preview with #7F1B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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