#7F263A#7F263A

#7F263A is a dark, vivid red. Relative luminance 0.062; OKLCH L 41.1% C 0.123 H 11.0°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#7F263A
RGBrgb(127, 38, 58)
HSLhsl(347, 54%, 32%)
HSVhsv(347, 70%, 50%)
CMYKcmyk(0%, 70.1%, 54.3%, 50.2%)
CIE-LABlab(29.92, 39.74, 9.21)
CIE-LCHlch(29.92, 40.79, 13.05°)
OKLaboklab(41.15% 0.1204 0.0234)
OKLCHoklch(41.15% 0.123 11)
XYZxyz(10.2101, 6.2051, 4.6622)
Luminance0.0620 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F263A #267F6B
analogous
#7F2666 #7F263A #7F3F26
triadic
#7F263A #3A7F26 #263A7F
tetradic
#7F263A #667F26 #267F6B #3F267F
square
#7F263A #667F26 #267F6B #3F267F
split-complementary
#7F263A #267F3F #26667F
monochromatic
#210A0F #501824 #7F263A #AE3450 #CC546F

Accessibility & contrast

On white

9.37
#7F263A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#7F263A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F263A
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F263A#FFFFFF#000000##FFFFFF
##7F263A1.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3B3A
Deuteranopia (green-blind)
#524D38
Tritanopia (blue-blind)
#8B152E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f263a;
/* rgb */ color: rgb(127, 38, 58);
/* oklch */ color: oklch(41.1% 0.123 11.0);
Tailwind
colors: {
  custom: {
    50: '#a9676f',
    500: '#7f263a',
    950: '#000000',
  },
}
SCSS
$custom: #7f263a;
$custom-light: #a9676f;
$custom-dark: #000000;
JSON
{
  "hex": "#7f263a",
  "rgb": {
    "r": 127,
    "g": 38,
    "b": 58
  },
  "hsl": {
    "h": 346.517,
    "s": 53.939,
    "l": 32.353
  },
  "oklch": {
    "l": 0.41149,
    "c": 0.12262,
    "h": 11
  },
  "luminance": 0.06204
}

Semantic roles & 50–950 ramp

primary
#7F263A
secondary
#51B09B
accent
#DDBC4A
background
#FAF6F6
surface
#F5EBEC
border
#CFC6C7
text
#110607
muted
#807A7A

Preview Lab

Preview with #7F263A

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

Preview Lab → · Contrast checker → · Palette generator →

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