#7F2131#7F2131

#7F2131 is a dark, vivid red. Relative luminance 0.058; OKLCH L 40.4% C 0.128 H 15.5°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#7F2131
RGBrgb(127, 33, 49)
HSLhsl(350, 59%, 31%)
HSVhsv(350, 74%, 50%)
CMYKcmyk(0%, 74%, 61.4%, 50.2%)
CIE-LABlab(28.96, 41.07, 13.87)
CIE-LCHlch(28.96, 43.35, 18.65°)
OKLaboklab(40.37% 0.1232 0.0341)
OKLCHoklch(40.37% 0.128 15.5)
XYZxyz(9.8516, 5.8229, 3.5103)
Luminance0.0582 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2131 #217F6F
analogous
#7F2160 #7F2131 #7F4021
triadic
#7F2131 #317F21 #21317F
tetradic
#7F2131 #607F21 #217F6F #40217F
square
#7F2131 #607F21 #217F6F #40217F
split-complementary
#7F2131 #217F40 #21607F
monochromatic
#1E080C #4E141E #7F2131 #B02E44 #D04A61

Accessibility & contrast

On white

9.70
#7F2131 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7F2131 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2131
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2131#FFFFFF#000000##FFFFFF
##7F21311.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3831
Deuteranopia (green-blind)
#524B2F
Tritanopia (blue-blind)
#8B0728
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f2131;
/* rgb */ color: rgb(127, 33, 49);
/* oklch */ color: oklch(40.4% 0.128 15.5);
Tailwind
colors: {
  custom: {
    50: '#aa6468',
    500: '#7f2131',
    950: '#000000',
  },
}
SCSS
$custom: #7f2131;
$custom-light: #aa6468;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2131",
  "rgb": {
    "r": 127,
    "g": 33,
    "b": 49
  },
  "hsl": {
    "h": 349.787,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40365,
    "c": 0.1278,
    "h": 15.5
  },
  "luminance": 0.05821
}

Semantic roles & 50–950 ramp

primary
#7F2131
secondary
#4AB2A0
accent
#E2C746
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7F2131

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

Preview Lab → · Contrast checker → · Palette generator →

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