#7F2D18#7F2D18

#7F2D18 is a dark, moderate red. Relative luminance 0.065; OKLCH L 41.4% C 0.118 H 35.3°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#7F2D18
RGBrgb(127, 45, 24)
HSLhsl(12, 68%, 30%)
HSVhsv(12, 81%, 50%)
CMYKcmyk(0%, 64.6%, 81.1%, 50.2%)
CIE-LABlab(30.54, 34.33, 31.34)
CIE-LCHlch(30.54, 46.48, 42.39°)
OKLaboklab(41.42% 0.0967 0.0685)
OKLCHoklch(41.42% 0.118 35.3)
XYZxyz(9.8567, 6.4561, 1.5911)
Luminance0.0645 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2D18 #186A7F
analogous
#7F1837 #7F2D18 #7F6118
triadic
#7F2D18 #187F2D #2D187F
tetradic
#7F2D18 #377F18 #186A7F #61187F
square
#7F2D18 #377F18 #186A7F #61187F
split-complementary
#7F2D18 #187F61 #18377F
monochromatic
#1A0905 #4C1B0E #7F2D18 #B23F22 #D95938

Accessibility & contrast

On white

9.17
#7F2D18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#7F2D18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2D18
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2D18#FFFFFF#000000##FFFFFF
##7F2D181.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443C15
Deuteranopia (green-blind)
#584F15
Tritanopia (blue-blind)
#8C1829
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7f2d18;
/* rgb */ color: rgb(127, 45, 24);
/* oklch */ color: oklch(41.4% 0.118 35.3);
Tailwind
colors: {
  custom: {
    50: '#ab6a56',
    500: '#7f2d18',
    950: '#000000',
  },
}
SCSS
$custom: #7f2d18;
$custom-light: #ab6a56;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2d18",
  "rgb": {
    "r": 127,
    "g": 45,
    "b": 24
  },
  "hsl": {
    "h": 12.233,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.41419,
    "c": 0.11846,
    "h": 35.3
  },
  "luminance": 0.06455
}

Semantic roles & 50–950 ramp

primary
#7F2D18
secondary
#3F9CB3
accent
#C8EB3D
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110703
muted
#807A78

Preview Lab

Preview with #7F2D18

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

Preview Lab → · Contrast checker → · Palette generator →

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