#7B2233#7B2233

#7B2233 is a dark, vivid red. Relative luminance 0.056; OKLCH L 39.8% C 0.122 H 13.7°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#7B2233
RGBrgb(123, 34, 51)
HSLhsl(349, 57%, 31%)
HSVhsv(349, 72%, 48%)
CMYKcmyk(0%, 72.4%, 58.5%, 51.8%)
CIE-LABlab(28.37, 39.48, 11.60)
CIE-LCHlch(28.37, 41.15, 16.37°)
OKLaboklab(39.79% 0.119 0.0289)
OKLCHoklch(39.79% 0.122 13.7)
XYZxyz(9.3388, 5.5953, 3.7196)
Luminance0.0559 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2233 #227B6A
analogous
#7B225F #7B2233 #7B3D22
triadic
#7B2233 #337B22 #22337B
tetradic
#7B2233 #5F7B22 #227B6A #3D227B
square
#7B2233 #5F7B22 #227B6A #3D227B
split-complementary
#7B2233 #227B3D #225F7B
monochromatic
#1B070B #4B151F #7B2233 #AB2F47 #CD4A63

Accessibility & contrast

On white

9.91
#7B2233 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#7B2233 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B2233
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2233#FFFFFF#000000##FFFFFF
##7B22331.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383733
Deuteranopia (green-blind)
#4F4A31
Tritanopia (blue-blind)
#870E29
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7b2233;
/* rgb */ color: rgb(123, 34, 51);
/* oklch */ color: oklch(39.8% 0.122 13.7);
Tailwind
colors: {
  custom: {
    50: '#a7646a',
    500: '#7b2233',
    950: '#000000',
  },
}
SCSS
$custom: #7b2233;
$custom-light: #a7646a;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2233",
  "rgb": {
    "r": 123,
    "g": 34,
    "b": 51
  },
  "hsl": {
    "h": 348.539,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.39793,
    "c": 0.12242,
    "h": 13.7
  },
  "luminance": 0.05594
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7B2233

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

Preview Lab → · Contrast checker → · Palette generator →

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