#7C2234#7C2234

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

Color values

HEX#7C2234
RGBrgb(124, 34, 52)
HSLhsl(348, 57%, 31%)
HSVhsv(348, 73%, 49%)
CMYKcmyk(0%, 72.6%, 58.1%, 51.4%)
CIE-LABlab(28.59, 39.90, 11.26)
CIE-LCHlch(28.59, 41.46, 15.77°)
OKLaboklab(40% 0.1203 0.0282)
OKLCHoklch(40% 0.124 13.2)
XYZxyz(9.5049, 5.6784, 3.8437)
Luminance0.0568 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2234 #227C6A
analogous
#7C2261 #7C2234 #7C3D22
triadic
#7C2234 #347C22 #22347C
tetradic
#7C2234 #617C22 #227C6A #3D227C
square
#7C2234 #617C22 #227C6A #3D227C
split-complementary
#7C2234 #227C3D #22617C
monochromatic
#1C080C #4C1520 #7C2234 #AC2F48 #CE4B65

Accessibility & contrast

On white

9.83
#7C2234 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7C2234 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2234
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2234#FFFFFF#000000##FFFFFF
##7C22341.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c2234;
/* rgb */ color: rgb(124, 34, 52);
/* oklch */ color: oklch(40.0% 0.124 13.2);
Tailwind
colors: {
  custom: {
    50: '#a7646b',
    500: '#7c2234',
    950: '#000000',
  },
}
SCSS
$custom: #7c2234;
$custom-light: #a7646b;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2234",
  "rgb": {
    "r": 124,
    "g": 34,
    "b": 52
  },
  "hsl": {
    "h": 348,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.4,
    "c": 0.12359,
    "h": 13.2
  },
  "luminance": 0.05677
}

Semantic roles & 50–950 ramp

primary
#7C2234
secondary
#4BAF9B
accent
#E0C248
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100606
muted
#7F7A7A

Preview Lab

Preview with #7C2234

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

Preview Lab → · Contrast checker → · Palette generator →

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