#7F122C#7F122C

#7F122C is a dark, vivid red. Relative luminance 0.051; OKLCH L 39.0% C 0.142 H 14.6°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#7F122C
RGBrgb(127, 18, 44)
HSLhsl(346, 75%, 28%)
HSVhsv(346, 86%, 50%)
CMYKcmyk(0%, 85.8%, 65.4%, 50.2%)
CIE-LABlab(27.10, 45.66, 14.74)
CIE-LCHlch(27.10, 47.99, 17.89°)
OKLaboklab(38.95% 0.1369 0.0357)
OKLCHoklch(38.95% 0.142 14.6)
XYZxyz(9.4244, 5.1279, 2.8759)
Luminance0.0513 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F122C #127F65
analogous
#7F1262 #7F122C #7F2E12
triadic
#7F122C #2C7F12 #122C7F
tetradic
#7F122C #627F12 #127F65 #2E127F
square
#7F122C #627F12 #127F65 #2E127F
split-complementary
#7F122C #127F2E #12627F
monochromatic
#1B0409 #490A19 #7F122C #B51A3F #E12B56

Accessibility & contrast

On white

10.37
#7F122C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#7F122C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F122C
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F122C#FFFFFF#000000##FFFFFF
##7F122C1.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33322C
Deuteranopia (green-blind)
#4F4829
Tritanopia (blue-blind)
#8C001E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7f122c;
/* rgb */ color: rgb(127, 18, 44);
/* oklch */ color: oklch(39.0% 0.142 14.6);
Tailwind
colors: {
  custom: {
    50: '#ab5e64',
    500: '#7f122c',
    950: '#000000',
  },
}
SCSS
$custom: #7f122c;
$custom-light: #ab5e64;
$custom-dark: #000000;
JSON
{
  "hex": "#7f122c",
  "rgb": {
    "r": 127,
    "g": 18,
    "b": 44
  },
  "hsl": {
    "h": 345.688,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.3895,
    "c": 0.14152,
    "h": 14.6
  },
  "luminance": 0.05126
}

Semantic roles & 50–950 ramp

primary
#7F122C
secondary
#38B597
accent
#F2C536
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110505
muted
#80797A

Preview Lab

Preview with #7F122C

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

Preview Lab → · Contrast checker → · Palette generator →

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