#7F182B#7F182B

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

Color values

HEX#7F182B
RGBrgb(127, 24, 43)
HSLhsl(349, 68%, 30%)
HSVhsv(349, 81%, 50%)
CMYKcmyk(0%, 81.1%, 66.1%, 50.2%)
CIE-LABlab(27.69, 43.87, 16.18)
CIE-LCHlch(27.69, 46.76, 20.25°)
OKLaboklab(39.38% 0.131 0.0389)
OKLCHoklch(39.38% 0.137 16.5)
XYZxyz(9.5161, 5.3412, 2.8149)
Luminance0.0534 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F182B #187F6C
analogous
#7F185F #7F182B #7F3918
triadic
#7F182B #2B7F18 #182B7F
tetradic
#7F182B #5F7F18 #187F6C #39187F
square
#7F182B #5F7F18 #187F6C #39187F
split-complementary
#7F182B #187F39 #185F7F
monochromatic
#1A0509 #4C0E1A #7F182B #B2223C #D93856

Accessibility & contrast

On white

10.15
#7F182B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F182B
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F182B#FFFFFF#000000##FFFFFF
##7F182B1.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36342B
Deuteranopia (green-blind)
#504928
Tritanopia (blue-blind)
#8C0020
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7f182b;
/* rgb */ color: rgb(127, 24, 43);
/* oklch */ color: oklch(39.4% 0.137 16.5);
Tailwind
colors: {
  custom: {
    50: '#ab6064',
    500: '#7f182b',
    950: '#000000',
  },
}
SCSS
$custom: #7f182b;
$custom-light: #ab6064;
$custom-dark: #000000;
JSON
{
  "hex": "#7f182b",
  "rgb": {
    "r": 127,
    "g": 24,
    "b": 43
  },
  "hsl": {
    "h": 348.932,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39378,
    "c": 0.13662,
    "h": 16.5
  },
  "luminance": 0.0534
}

Semantic roles & 50–950 ramp

primary
#7F182B
secondary
#3FB39E
accent
#EBCB3D
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110505
muted
#807A79

Preview Lab

Preview with #7F182B

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

Preview Lab → · Contrast checker → · Palette generator →

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