#7F302A#7F302A

#7F302A is a dark, moderate red. Relative luminance 0.068; OKLCH L 42.1% C 0.111 H 27.2°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#7F302A
RGBrgb(127, 48, 42)
HSLhsl(4, 50%, 33%)
HSVhsv(4, 67%, 50%)
CMYKcmyk(0%, 62.2%, 66.9%, 50.2%)
CIE-LABlab(31.33, 33.80, 21.45)
CIE-LCHlch(31.33, 40.03, 32.41°)
OKLaboklab(42.1% 0.0987 0.0507)
OKLCHoklch(42.1% 0.111 27.2)
XYZxyz(10.2282, 6.7944, 2.9629)
Luminance0.0679 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F302A #2A797F
analogous
#7F2A4E #7F302A #7F5A2A
triadic
#7F302A #2A7F30 #302A7F
tetradic
#7F302A #4E7F2A #2A797F #5A2A7F
square
#7F302A #4E7F2A #2A797F #5A2A7F
split-complementary
#7F302A #2A7F5A #2A4E7F
monochromatic
#230D0C #511F1B #7F302A #AD4139 #C9625B

Accessibility & contrast

On white

8.90
#7F302A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#7F302A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F302A
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F302A#FFFFFF#000000##FFFFFF
##7F302A1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453F29
Deuteranopia (green-blind)
#585028
Tritanopia (blue-blind)
#8B202F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7f302a;
/* rgb */ color: rgb(127, 48, 42);
/* oklch */ color: oklch(42.1% 0.111 27.2);
Tailwind
colors: {
  custom: {
    50: '#aa6c63',
    500: '#7f302a',
    950: '#000000',
  },
}
SCSS
$custom: #7f302a;
$custom-light: #aa6c63;
$custom-dark: #000000;
JSON
{
  "hex": "#7f302a",
  "rgb": {
    "r": 127,
    "g": 48,
    "b": 42
  },
  "hsl": {
    "h": 4.235,
    "s": 50.296,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42098,
    "c": 0.111,
    "h": 27.2
  },
  "luminance": 0.06793
}

Semantic roles & 50–950 ramp

primary
#7F302A
secondary
#57A8AE
accent
#D0DA4E
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110705
muted
#807A79

Preview Lab

Preview with #7F302A

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

Preview Lab → · Contrast checker → · Palette generator →

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