#7F2028#7F2028

#7F2028 is a dark, vivid red. Relative luminance 0.057; OKLCH L 40.1% C 0.129 H 20.8°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#7F2028
RGBrgb(127, 32, 40)
HSLhsl(355, 60%, 31%)
HSVhsv(355, 75%, 50%)
CMYKcmyk(0%, 74.8%, 68.5%, 50.2%)
CIE-LABlab(28.64, 40.86, 19.38)
CIE-LCHlch(28.64, 45.22, 25.38°)
OKLaboklab(40.07% 0.1206 0.0458)
OKLCHoklch(40.07% 0.129 20.8)
XYZxyz(9.6529, 5.6997, 2.5989)
Luminance0.0570 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2028 #207F77
analogous
#7F2057 #7F2028 #7F4720
triadic
#7F2028 #287F20 #20287F
tetradic
#7F2028 #577F20 #207F77 #47207F
square
#7F2028 #577F20 #207F77 #47207F
split-complementary
#7F2028 #207F47 #20577F
monochromatic
#1D0709 #4E1419 #7F2028 #B02C37 #D14854

Accessibility & contrast

On white

9.81
#7F2028 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7F2028 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2028
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2028#FFFFFF#000000##FFFFFF
##7F20281.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3728
Deuteranopia (green-blind)
#534B25
Tritanopia (blue-blind)
#8C0024
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f2028;
/* rgb */ color: rgb(127, 32, 40);
/* oklch */ color: oklch(40.1% 0.129 20.8);
Tailwind
colors: {
  custom: {
    50: '#ab6361',
    500: '#7f2028',
    950: '#000000',
  },
}
SCSS
$custom: #7f2028;
$custom-light: #ab6361;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2028",
  "rgb": {
    "r": 127,
    "g": 32,
    "b": 40
  },
  "hsl": {
    "h": 354.947,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.4007,
    "c": 0.12904,
    "h": 20.8
  },
  "luminance": 0.05698
}

Semantic roles & 50–950 ramp

primary
#7F2028
secondary
#49B2A9
accent
#E3D645
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#110605
muted
#807A79

Preview Lab

Preview with #7F2028

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

Preview Lab → · Contrast checker → · Palette generator →

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