#7F302B#7F302B

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

Color values

HEX#7F302B
RGBrgb(127, 48, 43)
HSLhsl(4, 49%, 33%)
HSVhsv(4, 66%, 50%)
CMYKcmyk(0%, 62.2%, 66.1%, 50.2%)
CIE-LABlab(31.35, 33.87, 20.84)
CIE-LCHlch(31.35, 39.77, 31.61°)
OKLaboklab(42.12% 0.0992 0.0495)
OKLCHoklch(42.12% 0.111 26.5)
XYZxyz(10.2464, 6.8017, 3.0583)
Luminance0.0680 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F302B #2B7A7F
analogous
#7F2B50 #7F302B #7F5A2B
triadic
#7F302B #2B7F30 #302B7F
tetradic
#7F302B #507F2B #2B7A7F #5A2B7F
square
#7F302B #507F2B #2B7A7F #5A2B7F
split-complementary
#7F302B #2B7F5A #2B507F
monochromatic
#240D0C #511F1C #7F302B #AD413A #C8635C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F302B#FFFFFF#000000##FFFFFF
##7F302B1.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)
#443F2A
Deuteranopia (green-blind)
#585029
Tritanopia (blue-blind)
#8B202F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7f302b;
/* rgb */ color: rgb(127, 48, 43);
/* oklch */ color: oklch(42.1% 0.111 26.5);
Tailwind
colors: {
  custom: {
    50: '#aa6c64',
    500: '#7f302b',
    950: '#000000',
  },
}
SCSS
$custom: #7f302b;
$custom-light: #aa6c64;
$custom-dark: #000000;
JSON
{
  "hex": "#7f302b",
  "rgb": {
    "r": 127,
    "g": 48,
    "b": 43
  },
  "hsl": {
    "h": 3.571,
    "s": 49.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42116,
    "c": 0.11082,
    "h": 26.5
  },
  "luminance": 0.068
}

Semantic roles & 50–950 ramp

primary
#7F302B
secondary
#58A9AE
accent
#D1D94F
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110705
muted
#807A7A

Preview Lab

Preview with #7F302B

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

Preview Lab → · Contrast checker → · Palette generator →

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