#7F2137#7F2137

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

Color values

HEX#7F2137
RGBrgb(127, 33, 55)
HSLhsl(346, 59%, 31%)
HSVhsv(346, 74%, 50%)
CMYKcmyk(0%, 74%, 56.7%, 50.2%)
CIE-LABlab(29.10, 41.54, 10.06)
CIE-LCHlch(29.10, 42.74, 13.62°)
OKLaboklab(40.51% 0.1257 0.0254)
OKLCHoklch(40.51% 0.128 11.4)
XYZxyz(9.9868, 5.8770, 4.2222)
Luminance0.0588 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F2137 #217F69
analogous
#7F2166 #7F2137 #7F3A21
triadic
#7F2137 #377F21 #21377F
tetradic
#7F2137 #667F21 #217F69 #3A217F
square
#7F2137 #667F21 #217F69 #3A217F
split-complementary
#7F2137 #217F3A #21667F
monochromatic
#1E080D #4E1422 #7F2137 #B02E4C #D04A6A

Accessibility & contrast

On white

9.65
#7F2137 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7F2137 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F2137
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F2137#FFFFFF#000000##FFFFFF
##7F21371.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f2137;
/* rgb */ color: rgb(127, 33, 55);
/* oklch */ color: oklch(40.5% 0.128 11.4);
Tailwind
colors: {
  custom: {
    50: '#a9646d',
    500: '#7f2137',
    950: '#000000',
  },
}
SCSS
$custom: #7f2137;
$custom-light: #a9646d;
$custom-dark: #000000;
JSON
{
  "hex": "#7f2137",
  "rgb": {
    "r": 127,
    "g": 33,
    "b": 55
  },
  "hsl": {
    "h": 345.957,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40513,
    "c": 0.12825,
    "h": 11.4
  },
  "luminance": 0.05876
}

Semantic roles & 50–950 ramp

primary
#7F2137
secondary
#4AB299
accent
#E2BD46
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110607
muted
#807A7A

Preview Lab

Preview with #7F2137

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

Preview Lab → · Contrast checker → · Palette generator →

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