#7F2018#7F2018

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

Color values

HEX#7F2018
RGBrgb(127, 32, 24)
HSLhsl(5, 68%, 30%)
HSVhsv(5, 81%, 50%)
CMYKcmyk(0%, 74.8%, 81.1%, 50.2%)
CIE-LABlab(28.41, 40.07, 29.16)
CIE-LCHlch(28.41, 49.56, 36.04°)
OKLaboklab(39.83% 0.1145 0.0637)
OKLCHoklch(39.83% 0.131 29.1)
XYZxyz(9.4349, 5.6125, 1.4505)
Luminance0.0561 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2018 #18777F
analogous
#7F1844 #7F2018 #7F5418
triadic
#7F2018 #187F20 #20187F
tetradic
#7F2018 #447F18 #18777F #54187F
square
#7F2018 #447F18 #18777F #54187F
split-complementary
#7F2018 #187F54 #18447F
monochromatic
#1A0605 #4C130E #7F2018 #B22D22 #D94538

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F2018#FFFFFF#000000##FFFFFF
##7F20181.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)
#3C3616
Deuteranopia (green-blind)
#544B14
Tritanopia (blue-blind)
#8C001F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7f2018;
/* rgb */ color: rgb(127, 32, 24);
/* oklch */ color: oklch(39.8% 0.131 29.1);
Tailwind
colors: {
  custom: {
    50: '#ac6355',
    500: '#7f2018',
    950: '#000000',
  },
}
SCSS
$custom: #7f2018;
$custom-light: #ac6355;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2018",
  "rgb": {
    "r": 127,
    "g": 32,
    "b": 24
  },
  "hsl": {
    "h": 4.66,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39826,
    "c": 0.13108,
    "h": 29.1
  },
  "luminance": 0.05611
}

Semantic roles & 50–950 ramp

primary
#7F2018
secondary
#3FAAB3
accent
#DEEB3D
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120603
muted
#817A78

Preview Lab

Preview with #7F2018

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

Preview Lab → · Contrast checker → · Palette generator →

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