#7D2237#7D2237

#7D2237 is a dark, vivid red. Relative luminance 0.058; OKLCH L 40.3% C 0.125 H 11.3°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#7D2237
RGBrgb(125, 34, 55)
HSLhsl(346, 57%, 31%)
HSVhsv(346, 73%, 49%)
CMYKcmyk(0%, 72.8%, 56%, 51%)
CIE-LABlab(28.85, 40.48, 9.66)
CIE-LCHlch(28.85, 41.62, 13.42°)
OKLaboklab(40.26% 0.1226 0.0244)
OKLCHoklch(40.26% 0.125 11.3)
XYZxyz(9.7199, 5.7812, 4.2177)
Luminance0.0578 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2237 #227D68
analogous
#7D2264 #7D2237 #7D3A22
triadic
#7D2237 #377D22 #22377D
tetradic
#7D2237 #647D22 #227D68 #3A227D
square
#7D2237 #647D22 #227D68 #3A227D
split-complementary
#7D2237 #227D3A #22647D
monochromatic
#1D080D #4D1522 #7D2237 #AD2F4C #CE4B69

Accessibility & contrast

On white

9.74
#7D2237 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D2237
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2237#FFFFFF#000000##FFFFFF
##7D22371.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d2237;
/* rgb */ color: rgb(125, 34, 55);
/* oklch */ color: oklch(40.3% 0.125 11.3);
Tailwind
colors: {
  custom: {
    50: '#a8646d',
    500: '#7d2237',
    950: '#000000',
  },
}
SCSS
$custom: #7d2237;
$custom-light: #a8646d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2237",
  "rgb": {
    "r": 125,
    "g": 34,
    "b": 55
  },
  "hsl": {
    "h": 346.154,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40258,
    "c": 0.12496,
    "h": 11.3
  },
  "luminance": 0.0578
}

Semantic roles & 50–950 ramp

primary
#7D2237
secondary
#4BB098
accent
#E0BD47
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100607
muted
#7F7A7A

Preview Lab

Preview with #7D2237

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

Preview Lab → · Contrast checker → · Palette generator →

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