#7F293B#7F293B

#7F293B is a dark, moderate red. Relative luminance 0.064; OKLCH L 41.5% C 0.119 H 11.4°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#7F293B
RGBrgb(127, 41, 59)
HSLhsl(347, 51%, 33%)
HSVhsv(347, 68%, 50%)
CMYKcmyk(0%, 67.7%, 53.5%, 50.2%)
CIE-LABlab(30.44, 38.50, 9.26)
CIE-LCHlch(30.44, 39.60, 13.52°)
OKLaboklab(41.54% 0.1165 0.0236)
OKLCHoklch(41.54% 0.119 11.4)
XYZxyz(10.3356, 6.4150, 4.8308)
Luminance0.0641 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F293B #297F6D
analogous
#7F2966 #7F293B #7F4229
triadic
#7F293B #3B7F29 #293B7F
tetradic
#7F293B #667F29 #297F6D #42297F
square
#7F293B #667F29 #297F6D #42297F
split-complementary
#7F293B #297F42 #29667F
monochromatic
#220B10 #511A26 #7F293B #AD3850 #C95971

Accessibility & contrast

On white

9.20
#7F293B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#7F293B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F293B
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F293B#FFFFFF#000000##FFFFFF
##7F293B1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3D3B
Deuteranopia (green-blind)
#534E39
Tritanopia (blue-blind)
#8B1A30
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7f293b;
/* rgb */ color: rgb(127, 41, 59);
/* oklch */ color: oklch(41.5% 0.119 11.4);
Tailwind
colors: {
  custom: {
    50: '#a96870',
    500: '#7f293b',
    950: '#000000',
  },
}
SCSS
$custom: #7f293b;
$custom-light: #a96870;
$custom-dark: #000000;
JSON
{
  "hex": "#7f293b",
  "rgb": {
    "r": 127,
    "g": 41,
    "b": 59
  },
  "hsl": {
    "h": 347.442,
    "s": 51.19,
    "l": 32.941
  },
  "oklch": {
    "l": 0.41539,
    "c": 0.1189,
    "h": 11.4
  },
  "luminance": 0.06414
}

Semantic roles & 50–950 ramp

primary
#7F293B
secondary
#55AF9C
accent
#DBBD4D
background
#FAF6F6
surface
#F5EBEC
border
#CFC6C7
text
#100607
muted
#7F7A7A

Preview Lab

Preview with #7F293B

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

Preview Lab → · Contrast checker → · Palette generator →

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