#7B2235#7B2235

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

Color values

HEX#7B2235
RGBrgb(123, 34, 53)
HSLhsl(347, 57%, 31%)
HSVhsv(347, 72%, 48%)
CMYKcmyk(0%, 72.4%, 56.9%, 51.8%)
CIE-LABlab(28.42, 39.65, 10.33)
CIE-LCHlch(28.42, 40.97, 14.61°)
OKLaboklab(39.84% 0.1198 0.026)
OKLCHoklch(39.84% 0.123 12.2)
XYZxyz(9.3839, 5.6133, 3.9568)
Luminance0.0561 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B2235 #227B68
analogous
#7B2261 #7B2235 #7B3B22
triadic
#7B2235 #357B22 #22357B
tetradic
#7B2235 #617B22 #227B68 #3B227B
square
#7B2235 #617B22 #227B68 #3B227B
split-complementary
#7B2235 #227B3B #22617B
monochromatic
#1B070C #4B1520 #7B2235 #AB2F4A #CD4A66

Accessibility & contrast

On white

9.89
#7B2235 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B2235
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B2235#FFFFFF#000000##FFFFFF
##7B22351.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383735
Deuteranopia (green-blind)
#4F4A33
Tritanopia (blue-blind)
#870F2A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7b2235;
/* rgb */ color: rgb(123, 34, 53);
/* oklch */ color: oklch(39.8% 0.123 12.2);
Tailwind
colors: {
  custom: {
    50: '#a6646c',
    500: '#7b2235',
    950: '#000000',
  },
}
SCSS
$custom: #7b2235;
$custom-light: #a6646c;
$custom-dark: #000000;
JSON
{
  "hex": "#7b2235",
  "rgb": {
    "r": 123,
    "g": 34,
    "b": 53
  },
  "hsl": {
    "h": 347.191,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.39844,
    "c": 0.12258,
    "h": 12.2
  },
  "luminance": 0.05612
}

Semantic roles & 50–950 ramp

primary
#7B2235
secondary
#4BAE99
accent
#E0BF48
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100606
muted
#7F7A7A

Preview Lab

Preview with #7B2235

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

Preview Lab → · Contrast checker → · Palette generator →

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