#7F262B#7F262B

#7F262B is a dark, vivid red. Relative luminance 0.061; OKLCH L 40.8% C 0.122 H 21.3°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#7F262B
RGBrgb(127, 38, 43)
HSLhsl(357, 54%, 32%)
HSVhsv(357, 70%, 50%)
CMYKcmyk(0%, 70.1%, 66.1%, 50.2%)
CIE-LABlab(29.60, 38.57, 18.64)
CIE-LCHlch(29.60, 42.84, 25.79°)
OKLaboklab(40.8% 0.114 0.0445)
OKLCHoklch(40.8% 0.122 21.3)
XYZxyz(9.8826, 6.0741, 2.9371)
Luminance0.0607 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F262B #267F7A
analogous
#7F2658 #7F262B #7F4D26
triadic
#7F262B #2B7F26 #262B7F
tetradic
#7F262B #587F26 #267F7A #4D267F
square
#7F262B #587F26 #267F7A #4D267F
split-complementary
#7F262B #267F4D #26587F
monochromatic
#210A0B #50181B #7F262B #AE343B #CC545A

Accessibility & contrast

On white

9.48
#7F262B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#7F262B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F262B
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F262B#FFFFFF#000000##FFFFFF
##7F262B1.009.482.219.48
#FFFFFF9.481.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3A2B
Deuteranopia (green-blind)
#544D29
Tritanopia (blue-blind)
#8C0F29
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f262b;
/* rgb */ color: rgb(127, 38, 43);
/* oklch */ color: oklch(40.8% 0.122 21.3);
Tailwind
colors: {
  custom: {
    50: '#aa6664',
    500: '#7f262b',
    950: '#000000',
  },
}
SCSS
$custom: #7f262b;
$custom-light: #aa6664;
$custom-dark: #000000;
JSON
{
  "hex": "#7f262b",
  "rgb": {
    "r": 127,
    "g": 38,
    "b": 43
  },
  "hsl": {
    "h": 356.629,
    "s": 53.939,
    "l": 32.353
  },
  "oklch": {
    "l": 0.40801,
    "c": 0.12239,
    "h": 21.3
  },
  "luminance": 0.06073
}

Semantic roles & 50–950 ramp

primary
#7F262B
secondary
#51B0AB
accent
#DDD54A
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#110605
muted
#807A79

Preview Lab

Preview with #7F262B

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

Preview Lab → · Contrast checker → · Palette generator →

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