#7F182C#7F182C

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

Color values

HEX#7F182C
RGBrgb(127, 24, 44)
HSLhsl(348, 68%, 30%)
HSVhsv(348, 81%, 50%)
CMYKcmyk(0%, 81.1%, 65.4%, 50.2%)
CIE-LABlab(27.71, 43.94, 15.54)
CIE-LCHlch(27.71, 46.60, 19.48°)
OKLaboklab(39.4% 0.1314 0.0375)
OKLCHoklch(39.4% 0.137 15.9)
XYZxyz(9.5347, 5.3486, 2.9127)
Luminance0.0535 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F182C #187F6B
analogous
#7F185F #7F182C #7F3818
triadic
#7F182C #2C7F18 #182C7F
tetradic
#7F182C #5F7F18 #187F6B #38187F
square
#7F182C #5F7F18 #187F6B #38187F
split-complementary
#7F182C #187F38 #185F7F
monochromatic
#1A0509 #4C0E1A #7F182C #B2223E #D93857

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F182C#FFFFFF#000000##FFFFFF
##7F182C1.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)
#36342C
Deuteranopia (green-blind)
#504929
Tritanopia (blue-blind)
#8C0021
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7f182c;
/* rgb */ color: rgb(127, 24, 44);
/* oklch */ color: oklch(39.4% 0.137 15.9);
Tailwind
colors: {
  custom: {
    50: '#ab6064',
    500: '#7f182c',
    950: '#000000',
  },
}
SCSS
$custom: #7f182c;
$custom-light: #ab6064;
$custom-dark: #000000;
JSON
{
  "hex": "#7f182c",
  "rgb": {
    "r": 127,
    "g": 24,
    "b": 44
  },
  "hsl": {
    "h": 348.35,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.394,
    "c": 0.13664,
    "h": 15.9
  },
  "luminance": 0.05347
}

Semantic roles & 50–950 ramp

primary
#7F182C
secondary
#3FB39D
accent
#EBC93D
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110505
muted
#807A7A

Preview Lab

Preview with #7F182C

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

Preview Lab → · Contrast checker → · Palette generator →

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