#7F2017#7F2017

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

Color values

HEX#7F2017
RGBrgb(127, 32, 23)
HSLhsl(5, 69%, 29%)
HSVhsv(5, 82%, 50%)
CMYKcmyk(0%, 74.8%, 81.9%, 50.2%)
CIE-LABlab(28.40, 40.04, 29.74)
CIE-LCHlch(28.40, 49.87, 36.60°)
OKLaboklab(39.81% 0.1142 0.0647)
OKLCHoklch(39.81% 0.131 29.5)
XYZxyz(9.4247, 5.6084, 1.3967)
Luminance0.0561 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2017 #17767F
analogous
#7F1742 #7F2017 #7F5417
triadic
#7F2017 #177F20 #20177F
tetradic
#7F2017 #427F17 #17767F #54177F
square
#7F2017 #427F17 #17767F #54177F
split-complementary
#7F2017 #177F54 #17427F
monochromatic
#1A0705 #4B130E #7F2017 #B32D20 #DB4436

Accessibility & contrast

On white

9.90
#7F2017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#7F2017 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2017
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2017#FFFFFF#000000##FFFFFF
##7F20171.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3615
Deuteranopia (green-blind)
#544B13
Tritanopia (blue-blind)
#8C001F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7f2017;
/* rgb */ color: rgb(127, 32, 23);
/* oklch */ color: oklch(39.8% 0.131 29.5);
Tailwind
colors: {
  custom: {
    50: '#ac6355',
    500: '#7f2017',
    950: '#000000',
  },
}
SCSS
$custom: #7f2017;
$custom-light: #ac6355;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2017",
  "rgb": {
    "r": 127,
    "g": 32,
    "b": 23
  },
  "hsl": {
    "h": 5.192,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39814,
    "c": 0.13125,
    "h": 29.5
  },
  "luminance": 0.05607
}

Semantic roles & 50–950 ramp

primary
#7F2017
secondary
#3EA9B4
accent
#DDEC3C
background
#FBF6F4
surface
#F6EBE8
border
#D0C6C4
text
#120603
muted
#817A78

Preview Lab

Preview with #7F2017

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

Preview Lab → · Contrast checker → · Palette generator →

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