#7F262E#7F262E

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

Color values

HEX#7F262E
RGBrgb(127, 38, 46)
HSLhsl(355, 54%, 32%)
HSVhsv(355, 70%, 50%)
CMYKcmyk(0%, 70.1%, 63.8%, 50.2%)
CIE-LABlab(29.66, 38.77, 16.76)
CIE-LCHlch(29.66, 42.24, 23.37°)
OKLaboklab(40.86% 0.1153 0.0405)
OKLCHoklch(40.86% 0.122 19.4)
XYZxyz(9.9396, 6.0969, 3.2377)
Luminance0.0610 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F262E #267F77
analogous
#7F265A #7F262E #7F4B26
triadic
#7F262E #2E7F26 #262E7F
tetradic
#7F262E #5A7F26 #267F77 #4B267F
square
#7F262E #5A7F26 #267F77 #4B267F
split-complementary
#7F262E #267F4B #265A7F
monochromatic
#210A0C #50181D #7F262E #AE343F #CC545E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F262E#FFFFFF#000000##FFFFFF
##7F262E1.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)
#3D3A2E
Deuteranopia (green-blind)
#544D2C
Tritanopia (blue-blind)
#8B112A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f262e;
/* rgb */ color: rgb(127, 38, 46);
/* oklch */ color: oklch(40.9% 0.122 19.4);
Tailwind
colors: {
  custom: {
    50: '#aa6666',
    500: '#7f262e',
    950: '#000000',
  },
}
SCSS
$custom: #7f262e;
$custom-light: #aa6666;
$custom-dark: #000000;
JSON
{
  "hex": "#7f262e",
  "rgb": {
    "r": 127,
    "g": 38,
    "b": 46
  },
  "hsl": {
    "h": 354.607,
    "s": 53.939,
    "l": 32.353
  },
  "oklch": {
    "l": 0.40862,
    "c": 0.12218,
    "h": 19.4
  },
  "luminance": 0.06096
}

Semantic roles & 50–950 ramp

primary
#7F262E
secondary
#51B0A8
accent
#DDD04A
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7F262E

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

Preview Lab → · Contrast checker → · Palette generator →

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