#7F262F#7F262F

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

Color values

HEX#7F262F
RGBrgb(127, 38, 47)
HSLhsl(354, 54%, 32%)
HSVhsv(354, 70%, 50%)
CMYKcmyk(0%, 70.1%, 63%, 50.2%)
CIE-LABlab(29.68, 38.85, 16.13)
CIE-LCHlch(29.68, 42.06, 22.55°)
OKLaboklab(40.88% 0.1157 0.0392)
OKLCHoklch(40.88% 0.122 18.7)
XYZxyz(9.9596, 6.1049, 3.3427)
Luminance0.0610 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F262F #267F76
analogous
#7F265B #7F262F #7F4A26
triadic
#7F262F #2F7F26 #262F7F
tetradic
#7F262F #5B7F26 #267F76 #4A267F
square
#7F262F #5B7F26 #267F76 #4A267F
split-complementary
#7F262F #267F4A #265B7F
monochromatic
#210A0C #50181E #7F262F #AE3440 #CC5460

Accessibility & contrast

On white

9.46
#7F262F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#7F262F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F262F
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F262F#FFFFFF#000000##FFFFFF
##7F262F1.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3A2F
Deuteranopia (green-blind)
#544D2D
Tritanopia (blue-blind)
#8B112A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f262f;
/* rgb */ color: rgb(127, 38, 47);
/* oklch */ color: oklch(40.9% 0.122 18.7);
Tailwind
colors: {
  custom: {
    50: '#aa6667',
    500: '#7f262f',
    950: '#000000',
  },
}
SCSS
$custom: #7f262f;
$custom-light: #aa6667;
$custom-dark: #000000;
JSON
{
  "hex": "#7f262f",
  "rgb": {
    "r": 127,
    "g": 38,
    "b": 47
  },
  "hsl": {
    "h": 353.933,
    "s": 53.939,
    "l": 32.353
  },
  "oklch": {
    "l": 0.40883,
    "c": 0.12215,
    "h": 18.7
  },
  "luminance": 0.06103
}

Semantic roles & 50–950 ramp

primary
#7F262F
secondary
#51B0A7
accent
#DDCE4A
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7F262F

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

Preview Lab → · Contrast checker → · Palette generator →

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