#7F182E#7F182E

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

Color values

HEX#7F182E
RGBrgb(127, 24, 46)
HSLhsl(347, 68%, 30%)
HSVhsv(347, 81%, 50%)
CMYKcmyk(0%, 81.1%, 63.8%, 50.2%)
CIE-LABlab(27.75, 44.07, 14.25)
CIE-LCHlch(27.75, 46.32, 17.92°)
OKLaboklab(39.44% 0.1322 0.0347)
OKLCHoklch(39.44% 0.137 14.7)
XYZxyz(9.5732, 5.3640, 3.1155)
Luminance0.0536 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F182E #187F69
analogous
#7F1862 #7F182E #7F3518
triadic
#7F182E #2E7F18 #182E7F
tetradic
#7F182E #627F18 #187F69 #35187F
square
#7F182E #627F18 #187F69 #35187F
split-complementary
#7F182E #187F35 #18627F
monochromatic
#1A0509 #4C0E1B #7F182E #B22241 #D9385A

Accessibility & contrast

On white

10.13
#7F182E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F182E
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F182E#FFFFFF#000000##FFFFFF
##7F182E1.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36342E
Deuteranopia (green-blind)
#50492B
Tritanopia (blue-blind)
#8C0022
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7f182e;
/* rgb */ color: rgb(127, 24, 46);
/* oklch */ color: oklch(39.4% 0.137 14.7);
Tailwind
colors: {
  custom: {
    50: '#ab6066',
    500: '#7f182e',
    950: '#000000',
  },
}
SCSS
$custom: #7f182e;
$custom-light: #ab6066;
$custom-dark: #000000;
JSON
{
  "hex": "#7f182e",
  "rgb": {
    "r": 127,
    "g": 24,
    "b": 46
  },
  "hsl": {
    "h": 347.184,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39444,
    "c": 0.13671,
    "h": 14.7
  },
  "luminance": 0.05363
}

Semantic roles & 50–950 ramp

primary
#7F182E
secondary
#3FB39B
accent
#EBC63D
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110505
muted
#807A7A

Preview Lab

Preview with #7F182E

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

Preview Lab → · Contrast checker → · Palette generator →

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