#7F122D#7F122D

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

Color values

HEX#7F122D
RGBrgb(127, 18, 45)
HSLhsl(345, 75%, 28%)
HSVhsv(345, 86%, 50%)
CMYKcmyk(0%, 85.8%, 64.6%, 50.2%)
CIE-LABlab(27.12, 45.73, 14.10)
CIE-LCHlch(27.12, 47.85, 17.13°)
OKLaboklab(38.97% 0.1374 0.0343)
OKLCHoklch(38.97% 0.142 14)
XYZxyz(9.4434, 5.1356, 2.9761)
Luminance0.0513 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F122D #127F64
analogous
#7F1263 #7F122D #7F2E12
triadic
#7F122D #2D7F12 #122D7F
tetradic
#7F122D #637F12 #127F64 #2E127F
square
#7F122D #637F12 #127F64 #2E127F
split-complementary
#7F122D #127F2E #12637F
monochromatic
#1B0409 #490A1A #7F122D #B51A40 #E12B58

Accessibility & contrast

On white

10.36
#7F122D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F122D
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F122D#FFFFFF#000000##FFFFFF
##7F122D1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f122d;
/* rgb */ color: rgb(127, 18, 45);
/* oklch */ color: oklch(39.0% 0.142 14.0);
Tailwind
colors: {
  custom: {
    50: '#ab5e65',
    500: '#7f122d',
    950: '#000000',
  },
}
SCSS
$custom: #7f122d;
$custom-light: #ab5e65;
$custom-dark: #000000;
JSON
{
  "hex": "#7f122d",
  "rgb": {
    "r": 127,
    "g": 18,
    "b": 45
  },
  "hsl": {
    "h": 345.138,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38972,
    "c": 0.14159,
    "h": 14
  },
  "luminance": 0.05134
}

Semantic roles & 50–950 ramp

primary
#7F122D
secondary
#38B596
accent
#F2C336
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110505
muted
#80797A

Preview Lab

Preview with #7F122D

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

Preview Lab → · Contrast checker → · Palette generator →

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