#7F262D#7F262D

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

Color values

HEX#7F262D
RGBrgb(127, 38, 45)
HSLhsl(355, 54%, 32%)
HSVhsv(355, 70%, 50%)
CMYKcmyk(0%, 70.1%, 64.6%, 50.2%)
CIE-LABlab(29.64, 38.71, 17.38)
CIE-LCHlch(29.64, 42.43, 24.19°)
OKLaboklab(40.84% 0.1149 0.0419)
OKLCHoklch(40.84% 0.122 20)
XYZxyz(9.9202, 6.0891, 3.1351)
Luminance0.0609 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F262D #267F78
analogous
#7F2659 #7F262D #7F4C26
triadic
#7F262D #2D7F26 #262D7F
tetradic
#7F262D #597F26 #267F78 #4C267F
square
#7F262D #597F26 #267F78 #4C267F
split-complementary
#7F262D #267F4C #26597F
monochromatic
#210A0C #50181C #7F262D #AE343E #CC545D

Accessibility & contrast

On white

9.47
#7F262D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F262D
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F262D#FFFFFF#000000##FFFFFF
##7F262D1.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f262d;
/* rgb */ color: rgb(127, 38, 45);
/* oklch */ color: oklch(40.8% 0.122 20.0);
Tailwind
colors: {
  custom: {
    50: '#aa6665',
    500: '#7f262d',
    950: '#000000',
  },
}
SCSS
$custom: #7f262d;
$custom-light: #aa6665;
$custom-dark: #000000;
JSON
{
  "hex": "#7f262d",
  "rgb": {
    "r": 127,
    "g": 38,
    "b": 45
  },
  "hsl": {
    "h": 355.281,
    "s": 53.939,
    "l": 32.353
  },
  "oklch": {
    "l": 0.40841,
    "c": 0.12224,
    "h": 20
  },
  "luminance": 0.06088
}

Semantic roles & 50–950 ramp

primary
#7F262D
secondary
#51B0A9
accent
#DDD24A
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110605
muted
#807A7A

Preview Lab

Preview with #7F262D

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

Preview Lab → · Contrast checker → · Palette generator →

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