#7D2137#7D2137

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

Color values

HEX#7D2137
RGBrgb(125, 33, 55)
HSLhsl(346, 58%, 31%)
HSVhsv(346, 74%, 49%)
CMYKcmyk(0%, 73.6%, 56%, 51%)
CIE-LABlab(28.71, 40.89, 9.46)
CIE-LCHlch(28.71, 41.97, 13.03°)
OKLaboklab(40.15% 0.1239 0.0239)
OKLCHoklch(40.15% 0.126 10.9)
XYZxyz(9.6918, 5.7248, 4.2083)
Luminance0.0572 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2137 #217D67
analogous
#7D2165 #7D2137 #7D3921
triadic
#7D2137 #377D21 #21377D
tetradic
#7D2137 #657D21 #217D67 #39217D
square
#7D2137 #657D21 #217D67 #39217D
split-complementary
#7D2137 #217D39 #21657D
monochromatic
#1C070C #4D1422 #7D2137 #AD2E4C #CF4969

Accessibility & contrast

On white

9.79
#7D2137 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D2137
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2137#FFFFFF#000000##FFFFFF
##7D21371.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383837
Deuteranopia (green-blind)
#504B35
Tritanopia (blue-blind)
#890C2A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7d2137;
/* rgb */ color: rgb(125, 33, 55);
/* oklch */ color: oklch(40.1% 0.126 10.9);
Tailwind
colors: {
  custom: {
    50: '#a8646d',
    500: '#7d2137',
    950: '#000000',
  },
}
SCSS
$custom: #7d2137;
$custom-light: #a8646d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2137",
  "rgb": {
    "r": 125,
    "g": 33,
    "b": 55
  },
  "hsl": {
    "h": 345.652,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40149,
    "c": 0.12614,
    "h": 10.9
  },
  "luminance": 0.05724
}

Semantic roles & 50–950 ramp

primary
#7D2137
secondary
#4AB097
accent
#E1BC46
background
#FAF6F6
surface
#F5EBEB
border
#CFC6C6
text
#110607
muted
#807A7A

Preview Lab

Preview with #7D2137

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

Preview Lab → · Contrast checker → · Palette generator →

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