#7F262C#7F262C

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

Color values

HEX#7F262C
RGBrgb(127, 38, 44)
HSLhsl(356, 54%, 32%)
HSVhsv(356, 70%, 50%)
CMYKcmyk(0%, 70.1%, 65.4%, 50.2%)
CIE-LABlab(29.62, 38.64, 18.01)
CIE-LCHlch(29.62, 42.63, 24.99°)
OKLaboklab(40.82% 0.1144 0.0432)
OKLCHoklch(40.82% 0.122 20.7)
XYZxyz(9.9011, 6.0815, 3.0349)
Luminance0.0608 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F262C #267F79
analogous
#7F2659 #7F262C #7F4D26
triadic
#7F262C #2C7F26 #262C7F
tetradic
#7F262C #597F26 #267F79 #4D267F
square
#7F262C #597F26 #267F79 #4D267F
split-complementary
#7F262C #267F4D #26597F
monochromatic
#210A0B #50181C #7F262C #AE343C #CC545C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F262C#FFFFFF#000000##FFFFFF
##7F262C1.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3A2C
Deuteranopia (green-blind)
#544D2A
Tritanopia (blue-blind)
#8C1029
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f262c;
/* rgb */ color: rgb(127, 38, 44);
/* oklch */ color: oklch(40.8% 0.122 20.7);
Tailwind
colors: {
  custom: {
    50: '#aa6665',
    500: '#7f262c',
    950: '#000000',
  },
}
SCSS
$custom: #7f262c;
$custom-light: #aa6665;
$custom-dark: #000000;
JSON
{
  "hex": "#7f262c",
  "rgb": {
    "r": 127,
    "g": 38,
    "b": 44
  },
  "hsl": {
    "h": 355.955,
    "s": 53.939,
    "l": 32.353
  },
  "oklch": {
    "l": 0.40821,
    "c": 0.12231,
    "h": 20.7
  },
  "luminance": 0.0608
}

Semantic roles & 50–950 ramp

primary
#7F262C
secondary
#51B0AA
accent
#DDD34A
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110605
muted
#807A7A

Preview Lab

Preview with #7F262C

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

Preview Lab → · Contrast checker → · Palette generator →

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