#7A2235#7A2235

#7A2235 is a dark, vivid red. Relative luminance 0.055; OKLCH L 39.7% C 0.121 H 12.0°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#7A2235
RGBrgb(122, 34, 53)
HSLhsl(347, 56%, 31%)
HSVhsv(347, 72%, 48%)
CMYKcmyk(0%, 72.1%, 56.6%, 52.2%)
CIE-LABlab(28.22, 39.31, 10.03)
CIE-LCHlch(28.22, 40.57, 14.32°)
OKLaboklab(39.66% 0.1188 0.0253)
OKLCHoklch(39.66% 0.122 12)
XYZxyz(9.2415, 5.5399, 3.9501)
Luminance0.0554 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2235 #227A67
analogous
#7A2261 #7A2235 #7A3B22
triadic
#7A2235 #357A22 #22357A
tetradic
#7A2235 #617A22 #227A67 #3B227A
square
#7A2235 #617A22 #227A67 #3B227A
split-complementary
#7A2235 #227A3B #22617A
monochromatic
#1A070B #4A1520 #7A2235 #AA2F4A #CD4A66

Accessibility & contrast

On white

9.96
#7A2235 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#7A2235 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2235
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2235#FFFFFF#000000##FFFFFF
##7A22351.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a2235;
/* rgb */ color: rgb(122, 34, 53);
/* oklch */ color: oklch(39.7% 0.121 12.0);
Tailwind
colors: {
  custom: {
    50: '#a6646c',
    500: '#7a2235',
    950: '#000000',
  },
}
SCSS
$custom: #7a2235;
$custom-light: #a6646c;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2235",
  "rgb": {
    "r": 122,
    "g": 34,
    "b": 53
  },
  "hsl": {
    "h": 347.045,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39664,
    "c": 0.1215,
    "h": 12
  },
  "luminance": 0.05539
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7A2235

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

Preview Lab → · Contrast checker → · Palette generator →

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