#7A223A#7A223A

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

Color values

HEX#7A223A
RGBrgb(122, 34, 58)
HSLhsl(344, 56%, 31%)
HSVhsv(344, 72%, 48%)
CMYKcmyk(0%, 72.1%, 52.5%, 52.2%)
CIE-LABlab(28.35, 39.76, 6.87)
CIE-LCHlch(28.35, 40.35, 9.80°)
OKLaboklab(39.8% 0.1209 0.0177)
OKLCHoklch(39.8% 0.122 8.3)
XYZxyz(9.3626, 5.5884, 4.5878)
Luminance0.0559 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A223A #227A62
analogous
#7A2266 #7A223A #7A3622
triadic
#7A223A #3A7A22 #223A7A
tetradic
#7A223A #667A22 #227A62 #36227A
square
#7A223A #667A22 #227A62 #36227A
split-complementary
#7A223A #227A36 #22667A
monochromatic
#1A070C #4A1523 #7A223A #AA2F51 #CD4A6E

Accessibility & contrast

On white

9.92
#7A223A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A223A
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A223A#FFFFFF#000000##FFFFFF
##7A223A1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37383A
Deuteranopia (green-blind)
#4E4938
Tritanopia (blue-blind)
#85122C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7a223a;
/* rgb */ color: rgb(122, 34, 58);
/* oklch */ color: oklch(39.8% 0.122 8.3);
Tailwind
colors: {
  custom: {
    50: '#a5646f',
    500: '#7a223a',
    950: '#000000',
  },
}
SCSS
$custom: #7a223a;
$custom-light: #a5646f;
$custom-dark: #000000;
JSON
{
  "hex": "#7a223a",
  "rgb": {
    "r": 122,
    "g": 34,
    "b": 58
  },
  "hsl": {
    "h": 343.636,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39801,
    "c": 0.12222,
    "h": 8.3
  },
  "luminance": 0.05587
}

Semantic roles & 50–950 ramp

primary
#7A223A
secondary
#4BAD92
accent
#E0B648
background
#FAF6F6
surface
#F4EBEC
border
#CEC6C7
text
#100607
muted
#7F7A7A

Preview Lab

Preview with #7A223A

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

Preview Lab → · Contrast checker → · Palette generator →

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