#7A223E#7A223E

#7A223E is a dark, vivid pink. Relative luminance 0.056; OKLCH L 39.9% C 0.123 H 5.4°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#7A223E
RGBrgb(122, 34, 62)
HSLhsl(341, 56%, 31%)
HSVhsv(341, 72%, 48%)
CMYKcmyk(0%, 72.1%, 49.2%, 52.2%)
CIE-LABlab(28.46, 40.14, 4.35)
CIE-LCHlch(28.46, 40.38, 6.19°)
OKLaboklab(39.92% 0.1226 0.0115)
OKLCHoklch(39.92% 0.123 5.4)
XYZxyz(9.4683, 5.6307, 5.1447)
Luminance0.0563 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A223E #227A5E
analogous
#7A226A #7A223E #7A3222
triadic
#7A223E #3E7A22 #223E7A
tetradic
#7A223E #6A7A22 #227A5E #32227A
square
#7A223E #6A7A22 #227A5E #32227A
split-complementary
#7A223E #227A32 #226A7A
monochromatic
#1A070D #4A1526 #7A223E #AA2F56 #CD4A73

Accessibility & contrast

On white

9.88
#7A223E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#7A223E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A223E
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A223E#FFFFFF#000000##FFFFFF
##7A223E1.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36383F
Deuteranopia (green-blind)
#4D4A3C
Tritanopia (blue-blind)
#85132D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7a223e;
/* rgb */ color: rgb(122, 34, 62);
/* oklch */ color: oklch(39.9% 0.123 5.4);
Tailwind
colors: {
  custom: {
    50: '#a56473',
    500: '#7a223e',
    950: '#000000',
  },
}
SCSS
$custom: #7a223e;
$custom-light: #a56473;
$custom-dark: #000000;
JSON
{
  "hex": "#7a223e",
  "rgb": {
    "r": 122,
    "g": 34,
    "b": 62
  },
  "hsl": {
    "h": 340.909,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.3992,
    "c": 0.12309,
    "h": 5.4
  },
  "luminance": 0.05629
}

Semantic roles & 50–950 ramp

primary
#7A223E
secondary
#4BAD8E
accent
#E0AF48
background
#FAF6F6
surface
#F4EBEC
border
#CEC6C7
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #7A223E

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

Preview Lab → · Contrast checker → · Palette generator →

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