#7F2136#7F2136

#7F2136 is a dark, vivid red. Relative luminance 0.059; OKLCH L 40.5% C 0.128 H 12.1°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#7F2136
RGBrgb(127, 33, 54)
HSLhsl(347, 59%, 31%)
HSVhsv(347, 74%, 50%)
CMYKcmyk(0%, 74%, 57.5%, 50.2%)
CIE-LABlab(29.08, 41.46, 10.70)
CIE-LCHlch(29.08, 42.82, 14.47°)
OKLaboklab(40.49% 0.1253 0.0268)
OKLCHoklch(40.49% 0.128 12.1)
XYZxyz(9.9630, 5.8675, 4.0972)
Luminance0.0587 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2136 #217F6A
analogous
#7F2165 #7F2136 #7F3B21
triadic
#7F2136 #367F21 #21367F
tetradic
#7F2136 #657F21 #217F6A #3B217F
square
#7F2136 #657F21 #217F6A #3B217F
split-complementary
#7F2136 #217F3B #21657F
monochromatic
#1E080D #4E1421 #7F2136 #B02E4B #D04A68

Accessibility & contrast

On white

9.66
#7F2136 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#7F2136 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2136
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2136#FFFFFF#000000##FFFFFF
##7F21361.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393836
Deuteranopia (green-blind)
#514C34
Tritanopia (blue-blind)
#8B0A2A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f2136;
/* rgb */ color: rgb(127, 33, 54);
/* oklch */ color: oklch(40.5% 0.128 12.1);
Tailwind
colors: {
  custom: {
    50: '#aa646c',
    500: '#7f2136',
    950: '#000000',
  },
}
SCSS
$custom: #7f2136;
$custom-light: #aa646c;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2136",
  "rgb": {
    "r": 127,
    "g": 33,
    "b": 54
  },
  "hsl": {
    "h": 346.596,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40487,
    "c": 0.12814,
    "h": 12.1
  },
  "luminance": 0.05866
}

Semantic roles & 50–950 ramp

primary
#7F2136
secondary
#4AB29B
accent
#E2BF46
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110607
muted
#807A7A

Preview Lab

Preview with #7F2136

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

Preview Lab → · Contrast checker → · Palette generator →

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