#7D2236#7D2236

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

Color values

HEX#7D2236
RGBrgb(125, 34, 54)
HSLhsl(347, 57%, 31%)
HSVhsv(347, 73%, 49%)
CMYKcmyk(0%, 72.8%, 56.8%, 51%)
CIE-LABlab(28.83, 40.40, 10.30)
CIE-LCHlch(28.83, 41.69, 14.30°)
OKLaboklab(40.23% 0.1221 0.0259)
OKLCHoklch(40.23% 0.125 12)
XYZxyz(9.6962, 5.7717, 4.0928)
Luminance0.0577 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2236 #227D69
analogous
#7D2263 #7D2236 #7D3B22
triadic
#7D2236 #367D22 #22367D
tetradic
#7D2236 #637D22 #227D69 #3B227D
square
#7D2236 #637D22 #227D69 #3B227D
split-complementary
#7D2236 #227D3B #22637D
monochromatic
#1D080C #4D1521 #7D2236 #AD2F4B #CE4B68

Accessibility & contrast

On white

9.75
#7D2236 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D2236
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2236#FFFFFF#000000##FFFFFF
##7D22361.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d2236;
/* rgb */ color: rgb(125, 34, 54);
/* oklch */ color: oklch(40.2% 0.125 12.0);
Tailwind
colors: {
  custom: {
    50: '#a8646c',
    500: '#7d2236',
    950: '#000000',
  },
}
SCSS
$custom: #7d2236;
$custom-light: #a8646c;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2236",
  "rgb": {
    "r": 125,
    "g": 34,
    "b": 54
  },
  "hsl": {
    "h": 346.813,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40232,
    "c": 0.12485,
    "h": 12
  },
  "luminance": 0.0577
}

Semantic roles & 50–950 ramp

primary
#7D2236
secondary
#4BB09A
accent
#E0BF47
background
#FAF6F6
surface
#F5EBEB
border
#CFC6C6
text
#110607
muted
#807A7A

Preview Lab

Preview with #7D2236

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

Preview Lab → · Contrast checker → · Palette generator →

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