#7A2233#7A2233

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

Color values

HEX#7A2233
RGBrgb(122, 34, 51)
HSLhsl(348, 56%, 31%)
HSVhsv(348, 72%, 48%)
CMYKcmyk(0%, 72.1%, 58.2%, 52.2%)
CIE-LABlab(28.17, 39.14, 11.30)
CIE-LCHlch(28.17, 40.74, 16.11°)
OKLaboklab(39.61% 0.118 0.0282)
OKLCHoklch(39.61% 0.121 13.5)
XYZxyz(9.1965, 5.5219, 3.7129)
Luminance0.0552 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2233 #227A69
analogous
#7A225F #7A2233 #7A3D22
triadic
#7A2233 #337A22 #22337A
tetradic
#7A2233 #5F7A22 #227A69 #3D227A
square
#7A2233 #5F7A22 #227A69 #3D227A
split-complementary
#7A2233 #227A3D #225F7A
monochromatic
#1A070B #4A151F #7A2233 #AA2F47 #CD4A63

Accessibility & contrast

On white

9.98
#7A2233 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#7A2233 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2233
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2233#FFFFFF#000000##FFFFFF
##7A22331.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383733
Deuteranopia (green-blind)
#4F4931
Tritanopia (blue-blind)
#860E29
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7a2233;
/* rgb */ color: rgb(122, 34, 51);
/* oklch */ color: oklch(39.6% 0.121 13.5);
Tailwind
colors: {
  custom: {
    50: '#a6646a',
    500: '#7a2233',
    950: '#000000',
  },
}
SCSS
$custom: #7a2233;
$custom-light: #a6646a;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2233",
  "rgb": {
    "r": 122,
    "g": 34,
    "b": 51
  },
  "hsl": {
    "h": 348.409,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39612,
    "c": 0.12132,
    "h": 13.5
  },
  "luminance": 0.05521
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7A2233

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

Preview Lab → · Contrast checker → · Palette generator →

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