#7A223F#7A223F

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

Color values

HEX#7A223F
RGBrgb(122, 34, 63)
HSLhsl(340, 56%, 31%)
HSVhsv(340, 72%, 48%)
CMYKcmyk(0%, 72.1%, 48.4%, 52.2%)
CIE-LABlab(28.49, 40.24, 3.73)
CIE-LCHlch(28.49, 40.41, 5.29°)
OKLaboklab(39.95% 0.1229 0.01)
OKLCHoklch(39.95% 0.123 4.6)
XYZxyz(9.4960, 5.6417, 5.2906)
Luminance0.0564 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A223F #227A5D
analogous
#7A226B #7A223F #7A3122
triadic
#7A223F #3F7A22 #223F7A
tetradic
#7A223F #6B7A22 #227A5D #31227A
square
#7A223F #6B7A22 #227A5D #31227A
split-complementary
#7A223F #227A31 #226B7A
monochromatic
#1A070E #4A1526 #7A223F #AA2F58 #CD4A75

Accessibility & contrast

On white

9.87
#7A223F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A223F
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A223F#FFFFFF#000000##FFFFFF
##7A223F1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363840
Deuteranopia (green-blind)
#4D4A3D
Tritanopia (blue-blind)
#85142E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7a223f;
/* rgb */ color: rgb(122, 34, 63);
/* oklch */ color: oklch(40.0% 0.123 4.6);
Tailwind
colors: {
  custom: {
    50: '#a56473',
    500: '#7a223f',
    950: '#000000',
  },
}
SCSS
$custom: #7a223f;
$custom-light: #a56473;
$custom-dark: #000000;
JSON
{
  "hex": "#7a223f",
  "rgb": {
    "r": 122,
    "g": 34,
    "b": 63
  },
  "hsl": {
    "h": 340.227,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39951,
    "c": 0.12334,
    "h": 4.6
  },
  "luminance": 0.05641
}

Semantic roles & 50–950 ramp

primary
#7A223F
secondary
#4BAD8D
accent
#E0AE48
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #7A223F

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

Preview Lab → · Contrast checker → · Palette generator →

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