#7D2231#7D2231

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

Color values

HEX#7D2231
RGBrgb(125, 34, 49)
HSLhsl(350, 57%, 31%)
HSVhsv(350, 73%, 49%)
CMYKcmyk(0%, 72.8%, 60.8%, 51%)
CIE-LABlab(28.71, 40.00, 13.46)
CIE-LCHlch(28.71, 42.21, 18.60°)
OKLaboklab(40.11% 0.12 0.0332)
OKLCHoklch(40.11% 0.125 15.5)
XYZxyz(9.5848, 5.7271, 3.5059)
Luminance0.0573 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2231 #227D6E
analogous
#7D225E #7D2231 #7D4022
triadic
#7D2231 #317D22 #22317D
tetradic
#7D2231 #5E7D22 #227D6E #40227D
square
#7D2231 #5E7D22 #227D6E #40227D
split-complementary
#7D2231 #227D40 #225E7D
monochromatic
#1D080B #4D151E #7D2231 #AD2F44 #CE4B61

Accessibility & contrast

On white

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

On black

2.15
#7D2231 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7D2231#FFFFFF#000000##FFFFFF
##7D22311.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3831
Deuteranopia (green-blind)
#514B2F
Tritanopia (blue-blind)
#890B28
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7d2231;
/* rgb */ color: rgb(125, 34, 49);
/* oklch */ color: oklch(40.1% 0.125 15.5);
Tailwind
colors: {
  custom: {
    50: '#a86468',
    500: '#7d2231',
    950: '#000000',
  },
}
SCSS
$custom: #7d2231;
$custom-light: #a86468;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2231",
  "rgb": {
    "r": 125,
    "g": 34,
    "b": 49
  },
  "hsl": {
    "h": 350.11,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40108,
    "c": 0.12451,
    "h": 15.5
  },
  "luminance": 0.05726
}

Semantic roles & 50–950 ramp

primary
#7D2231
secondary
#4BB09F
accent
#E0C747
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7D2231

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

Preview Lab → · Contrast checker → · Palette generator →

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