#7C2233#7C2233

#7C2233 is a dark, vivid red. Relative luminance 0.057; OKLCH L 40.0% C 0.124 H 13.9°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#7C2233
RGBrgb(124, 34, 51)
HSLhsl(349, 57%, 31%)
HSVhsv(349, 73%, 49%)
CMYKcmyk(0%, 72.6%, 58.9%, 51.4%)
CIE-LABlab(28.56, 39.82, 11.90)
CIE-LCHlch(28.56, 41.56, 16.64°)
OKLaboklab(39.98% 0.1199 0.0296)
OKLCHoklch(39.98% 0.124 13.9)
XYZxyz(9.4826, 5.6695, 3.7263)
Luminance0.0567 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2233 #227C6B
analogous
#7C2260 #7C2233 #7C3E22
triadic
#7C2233 #337C22 #22337C
tetradic
#7C2233 #607C22 #227C6B #3E227C
square
#7C2233 #607C22 #227C6B #3E227C
split-complementary
#7C2233 #227C3E #22607C
monochromatic
#1C080B #4C151F #7C2233 #AC2F47 #CE4B64

Accessibility & contrast

On white

9.84
#7C2233 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#7C2233 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2233
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2233#FFFFFF#000000##FFFFFF
##7C22331.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393833
Deuteranopia (green-blind)
#504A31
Tritanopia (blue-blind)
#880D29
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7c2233;
/* rgb */ color: rgb(124, 34, 51);
/* oklch */ color: oklch(40.0% 0.124 13.9);
Tailwind
colors: {
  custom: {
    50: '#a7646a',
    500: '#7c2233',
    950: '#000000',
  },
}
SCSS
$custom: #7c2233;
$custom-light: #a7646a;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2233",
  "rgb": {
    "r": 124,
    "g": 34,
    "b": 51
  },
  "hsl": {
    "h": 348.667,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.39975,
    "c": 0.12351,
    "h": 13.9
  },
  "luminance": 0.05668
}

Semantic roles & 50–950 ramp

primary
#7C2233
secondary
#4BAF9C
accent
#E0C348
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100606
muted
#7F7A7A

Preview Lab

Preview with #7C2233

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

Preview Lab → · Contrast checker → · Palette generator →

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