#7F182D#7F182D

#7F182D is a dark, vivid red. Relative luminance 0.054; OKLCH L 39.4% C 0.137 H 15.3°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#7F182D
RGBrgb(127, 24, 45)
HSLhsl(348, 68%, 30%)
HSVhsv(348, 81%, 50%)
CMYKcmyk(0%, 81.1%, 64.6%, 50.2%)
CIE-LABlab(27.73, 44.00, 14.90)
CIE-LCHlch(27.73, 46.46, 18.70°)
OKLaboklab(39.42% 0.1318 0.0362)
OKLCHoklch(39.42% 0.137 15.3)
XYZxyz(9.5537, 5.3562, 3.0129)
Luminance0.0536 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F182D #187F6A
analogous
#7F1861 #7F182D #7F3718
triadic
#7F182D #2D7F18 #182D7F
tetradic
#7F182D #617F18 #187F6A #37187F
square
#7F182D #617F18 #187F6A #37187F
split-complementary
#7F182D #187F37 #18617F
monochromatic
#1A0509 #4C0E1B #7F182D #B2223F #D93859

Accessibility & contrast

On white

10.14
#7F182D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#7F182D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F182D
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F182D#FFFFFF#000000##FFFFFF
##7F182D1.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36342D
Deuteranopia (green-blind)
#50492A
Tritanopia (blue-blind)
#8C0021
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7f182d;
/* rgb */ color: rgb(127, 24, 45);
/* oklch */ color: oklch(39.4% 0.137 15.3);
Tailwind
colors: {
  custom: {
    50: '#ab6065',
    500: '#7f182d',
    950: '#000000',
  },
}
SCSS
$custom: #7f182d;
$custom-light: #ab6065;
$custom-dark: #000000;
JSON
{
  "hex": "#7f182d",
  "rgb": {
    "r": 127,
    "g": 24,
    "b": 45
  },
  "hsl": {
    "h": 347.767,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39422,
    "c": 0.13667,
    "h": 15.3
  },
  "luminance": 0.05355
}

Semantic roles & 50–950 ramp

primary
#7F182D
secondary
#3FB39C
accent
#EBC83D
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110505
muted
#807A7A

Preview Lab

Preview with #7F182D

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

Preview Lab → · Contrast checker → · Palette generator →

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