#7D2233#7D2233

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

Color values

HEX#7D2233
RGBrgb(125, 34, 51)
HSLhsl(349, 57%, 31%)
HSVhsv(349, 73%, 49%)
CMYKcmyk(0%, 72.8%, 59.2%, 51%)
CIE-LABlab(28.76, 40.15, 12.20)
CIE-LCHlch(28.76, 41.97, 16.90°)
OKLaboklab(40.16% 0.1209 0.0303)
OKLCHoklch(40.16% 0.125 14.1)
XYZxyz(9.6279, 5.7444, 3.7331)
Luminance0.0574 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2233 #227D6C
analogous
#7D2260 #7D2233 #7D3E22
triadic
#7D2233 #337D22 #22337D
tetradic
#7D2233 #607D22 #227D6C #3E227D
square
#7D2233 #607D22 #227D6C #3E227D
split-complementary
#7D2233 #227D3E #22607D
monochromatic
#1D080C #4D151F #7D2233 #AD2F47 #CE4B64

Accessibility & contrast

On white

9.77
#7D2233 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D2233
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2233#FFFFFF#000000##FFFFFF
##7D22331.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393833
Deuteranopia (green-blind)
#514B31
Tritanopia (blue-blind)
#890C29
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7d2233;
/* rgb */ color: rgb(125, 34, 51);
/* oklch */ color: oklch(40.2% 0.125 14.1);
Tailwind
colors: {
  custom: {
    50: '#a8646a',
    500: '#7d2233',
    950: '#000000',
  },
}
SCSS
$custom: #7d2233;
$custom-light: #a8646a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2233",
  "rgb": {
    "r": 125,
    "g": 34,
    "b": 51
  },
  "hsl": {
    "h": 348.791,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40156,
    "c": 0.1246,
    "h": 14.1
  },
  "luminance": 0.05743
}

Semantic roles & 50–950 ramp

primary
#7D2233
secondary
#4BB09D
accent
#E0C447
background
#FAF6F6
surface
#F5EBEB
border
#CFC6C6
text
#110606
muted
#807A7A

Preview Lab

Preview with #7D2233

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

Preview Lab → · Contrast checker → · Palette generator →

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