#7F182F#7F182F

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

Color values

HEX#7F182F
RGBrgb(127, 24, 47)
HSLhsl(347, 68%, 30%)
HSVhsv(347, 81%, 50%)
CMYKcmyk(0%, 81.1%, 63%, 50.2%)
CIE-LABlab(27.77, 44.14, 13.61)
CIE-LCHlch(27.77, 46.19, 17.14°)
OKLaboklab(39.47% 0.1327 0.0333)
OKLCHoklch(39.47% 0.137 14.1)
XYZxyz(9.5931, 5.3720, 3.2205)
Luminance0.0537 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F182F #187F68
analogous
#7F1863 #7F182F #7F3518
triadic
#7F182F #2F7F18 #182F7F
tetradic
#7F182F #637F18 #187F68 #35187F
square
#7F182F #637F18 #187F68 #35187F
split-complementary
#7F182F #187F35 #18637F
monochromatic
#1A050A #4C0E1C #7F182F #B22242 #D9385C

Accessibility & contrast

On white

10.12
#7F182F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F182F
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F182F#FFFFFF#000000##FFFFFF
##7F182F1.0010.122.0710.12
#FFFFFF10.121.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35342F
Deuteranopia (green-blind)
#50492C
Tritanopia (blue-blind)
#8C0022
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7f182f;
/* rgb */ color: rgb(127, 24, 47);
/* oklch */ color: oklch(39.5% 0.137 14.1);
Tailwind
colors: {
  custom: {
    50: '#aa6067',
    500: '#7f182f',
    950: '#000000',
  },
}
SCSS
$custom: #7f182f;
$custom-light: #aa6067;
$custom-dark: #000000;
JSON
{
  "hex": "#7f182f",
  "rgb": {
    "r": 127,
    "g": 24,
    "b": 47
  },
  "hsl": {
    "h": 346.602,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39467,
    "c": 0.13677,
    "h": 14.1
  },
  "luminance": 0.05371
}

Semantic roles & 50–950 ramp

primary
#7F182F
secondary
#3FB399
accent
#EBC43D
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110506
muted
#807A7A

Preview Lab

Preview with #7F182F

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

Preview Lab → · Contrast checker → · Palette generator →

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