#7E223A#7E223A

#7E223A is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.5% C 0.126 H 9.4°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#7E223A
RGBrgb(126, 34, 58)
HSLhsl(344, 58%, 31%)
HSVhsv(344, 73%, 49%)
CMYKcmyk(0%, 73%, 54%, 50.6%)
CIE-LABlab(29.12, 41.07, 8.07)
CIE-LCHlch(29.12, 41.86, 11.11°)
OKLaboklab(40.52% 0.1248 0.0206)
OKLCHoklch(40.52% 0.126 9.4)
XYZxyz(9.9408, 5.8865, 4.6149)
Luminance0.0588 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E223A #227E66
analogous
#7E2268 #7E223A #7E3822
triadic
#7E223A #3A7E22 #223A7E
tetradic
#7E223A #687E22 #227E66 #38227E
square
#7E223A #687E22 #227E66 #38227E
split-complementary
#7E223A #227E38 #22687E
monochromatic
#1E080E #4E1524 #7E223A #AE2F50 #CF4C6E

Accessibility & contrast

On white

9.65
#7E223A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7E223A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E223A
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E223A#FFFFFF#000000##FFFFFF
##7E223A1.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38393A
Deuteranopia (green-blind)
#504B38
Tritanopia (blue-blind)
#8A0F2C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e223a;
/* rgb */ color: rgb(126, 34, 58);
/* oklch */ color: oklch(40.5% 0.126 9.4);
Tailwind
colors: {
  custom: {
    50: '#a8656f',
    500: '#7e223a',
    950: '#000000',
  },
}
SCSS
$custom: #7e223a;
$custom-light: #a8656f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e223a",
  "rgb": {
    "r": 126,
    "g": 34,
    "b": 58
  },
  "hsl": {
    "h": 344.348,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.4052,
    "c": 0.12645,
    "h": 9.4
  },
  "luminance": 0.05885
}

Semantic roles & 50–950 ramp

primary
#7E223A
secondary
#4BB196
accent
#E1B947
background
#FAF6F6
surface
#F5EBEC
border
#CFC6C7
text
#110607
muted
#807A7A

Preview Lab

Preview with #7E223A

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

Preview Lab → · Contrast checker → · Palette generator →

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