#7F2618#7F2618

#7F2618 is a dark, vivid red. Relative luminance 0.060; OKLCH L 40.5% C 0.125 H 31.6°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#7F2618
RGBrgb(127, 38, 24)
HSLhsl(8, 68%, 30%)
HSVhsv(8, 81%, 50%)
CMYKcmyk(0%, 70.1%, 81.1%, 50.2%)
CIE-LABlab(29.33, 37.58, 30.10)
CIE-LCHlch(29.33, 48.15, 38.70°)
OKLaboklab(40.51% 0.1067 0.0658)
OKLCHoklch(40.51% 0.125 31.6)
XYZxyz(9.6115, 5.9656, 1.5094)
Luminance0.0596 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2618 #18717F
analogous
#7F183E #7F2618 #7F5918
triadic
#7F2618 #187F26 #26187F
tetradic
#7F2618 #3E7F18 #18717F #59187F
square
#7F2618 #3E7F18 #18717F #59187F
split-complementary
#7F2618 #187F59 #183E7F
monochromatic
#1A0805 #4C170E #7F2618 #B23522 #D94E38

Accessibility & contrast

On white

9.58
#7F2618 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#7F2618 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2618
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2618#FFFFFF#000000##FFFFFF
##7F26181.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403916
Deuteranopia (green-blind)
#564C14
Tritanopia (blue-blind)
#8C0923
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f2618;
/* rgb */ color: rgb(127, 38, 24);
/* oklch */ color: oklch(40.5% 0.125 31.6);
Tailwind
colors: {
  custom: {
    50: '#ac6656',
    500: '#7f2618',
    950: '#000000',
  },
}
SCSS
$custom: #7f2618;
$custom-light: #ac6656;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2618",
  "rgb": {
    "r": 127,
    "g": 38,
    "b": 24
  },
  "hsl": {
    "h": 8.155,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40509,
    "c": 0.12539,
    "h": 31.6
  },
  "luminance": 0.05964
}

Semantic roles & 50–950 ramp

primary
#7F2618
secondary
#3FA4B3
accent
#D3EB3D
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110603
muted
#807A78

Preview Lab

Preview with #7F2618

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

Preview Lab → · Contrast checker → · Palette generator →

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