#7F1E30#7F1E30

#7F1E30 is a dark, vivid red. Relative luminance 0.057; OKLCH L 40.0% C 0.131 H 15.1°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#7F1E30
RGBrgb(127, 30, 48)
HSLhsl(349, 62%, 31%)
HSVhsv(349, 76%, 50%)
CMYKcmyk(0%, 76.4%, 62.2%, 50.2%)
CIE-LABlab(28.53, 42.15, 13.95)
CIE-LCHlch(28.53, 44.40, 18.31°)
OKLaboklab(40.03% 0.1264 0.0342)
OKLCHoklch(40.03% 0.131 15.1)
XYZxyz(9.7512, 5.6554, 3.3739)
Luminance0.0565 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1E30 #1E7F6D
analogous
#7F1E60 #7F1E30 #7F3C1E
triadic
#7F1E30 #307F1E #1E307F
tetradic
#7F1E30 #607F1E #1E7F6D #3C1E7F
square
#7F1E30 #607F1E #1E7F6D #3C1E7F
split-complementary
#7F1E30 #1E7F3C #1E607F
monochromatic
#1C070B #4D121D #7F1E30 #B12A43 #D3445F

Accessibility & contrast

On white

9.86
#7F1E30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#7F1E30 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1E30
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1E30#FFFFFF#000000##FFFFFF
##7F1E301.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383630
Deuteranopia (green-blind)
#514B2D
Tritanopia (blue-blind)
#8B0026
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7f1e30;
/* rgb */ color: rgb(127, 30, 48);
/* oklch */ color: oklch(40.0% 0.131 15.1);
Tailwind
colors: {
  custom: {
    50: '#aa6368',
    500: '#7f1e30',
    950: '#000000',
  },
}
SCSS
$custom: #7f1e30;
$custom-light: #aa6368;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1e30",
  "rgb": {
    "r": 127,
    "g": 30,
    "b": 48
  },
  "hsl": {
    "h": 348.866,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40035,
    "c": 0.13098,
    "h": 15.1
  },
  "luminance": 0.05654
}

Semantic roles & 50–950 ramp

primary
#7F1E30
secondary
#47B29E
accent
#E5C743
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7F1E30

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

Preview Lab → · Contrast checker → · Palette generator →

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