#7D2235#7D2235

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

Color values

HEX#7D2235
RGBrgb(125, 34, 53)
HSLhsl(347, 57%, 31%)
HSVhsv(347, 73%, 49%)
CMYKcmyk(0%, 72.8%, 57.6%, 51%)
CIE-LABlab(28.80, 40.32, 10.93)
CIE-LCHlch(28.80, 41.77, 15.17°)
OKLaboklab(40.21% 0.1217 0.0274)
OKLCHoklch(40.21% 0.125 12.7)
XYZxyz(9.6730, 5.7624, 3.9704)
Luminance0.0576 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2235 #227D6A
analogous
#7D2262 #7D2235 #7D3C22
triadic
#7D2235 #357D22 #22357D
tetradic
#7D2235 #627D22 #227D6A #3C227D
square
#7D2235 #627D22 #227D6A #3C227D
split-complementary
#7D2235 #227D3C #22627D
monochromatic
#1D080C #4D1521 #7D2235 #AD2F49 #CE4B67

Accessibility & contrast

On white

9.76
#7D2235 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D2235
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2235#FFFFFF#000000##FFFFFF
##7D22351.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393835
Deuteranopia (green-blind)
#504B33
Tritanopia (blue-blind)
#890D2A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7d2235;
/* rgb */ color: rgb(125, 34, 53);
/* oklch */ color: oklch(40.2% 0.125 12.7);
Tailwind
colors: {
  custom: {
    50: '#a8646c',
    500: '#7d2235',
    950: '#000000',
  },
}
SCSS
$custom: #7d2235;
$custom-light: #a8646c;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2235",
  "rgb": {
    "r": 125,
    "g": 34,
    "b": 53
  },
  "hsl": {
    "h": 347.473,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40206,
    "c": 0.12475,
    "h": 12.7
  },
  "luminance": 0.05761
}

Semantic roles & 50–950 ramp

primary
#7D2235
secondary
#4BB09B
accent
#E0C147
background
#FAF6F6
surface
#F5EBEB
border
#CFC6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7D2235

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

Preview Lab → · Contrast checker → · Palette generator →

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