#7E223C#7E223C

#7E223C is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.6% C 0.127 H 8.0°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#7E223C
RGBrgb(126, 34, 60)
HSLhsl(343, 58%, 31%)
HSVhsv(343, 73%, 49%)
CMYKcmyk(0%, 73%, 52.4%, 50.6%)
CIE-LABlab(29.18, 41.26, 6.81)
CIE-LCHlch(29.18, 41.81, 9.37°)
OKLaboklab(40.58% 0.1256 0.0176)
OKLCHoklch(40.58% 0.127 8)
XYZxyz(9.9927, 5.9073, 4.8881)
Luminance0.0591 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E223C #227E64
analogous
#7E226A #7E223C #7E3622
triadic
#7E223C #3C7E22 #223C7E
tetradic
#7E223C #6A7E22 #227E64 #36227E
square
#7E223C #6A7E22 #227E64 #36227E
split-complementary
#7E223C #227E36 #226A7E
monochromatic
#1E080E #4E1525 #7E223C #AE2F53 #CF4C71

Accessibility & contrast

On white

9.63
#7E223C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E223C
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E223C#FFFFFF#000000##FFFFFF
##7E223C1.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38393D
Deuteranopia (green-blind)
#504C3A
Tritanopia (blue-blind)
#8A102D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e223c;
/* rgb */ color: rgb(126, 34, 60);
/* oklch */ color: oklch(40.6% 0.127 8.0);
Tailwind
colors: {
  custom: {
    50: '#a86571',
    500: '#7e223c',
    950: '#000000',
  },
}
SCSS
$custom: #7e223c;
$custom-light: #a86571;
$custom-dark: #000000;
JSON
{
  "hex": "#7e223c",
  "rgb": {
    "r": 126,
    "g": 34,
    "b": 60
  },
  "hsl": {
    "h": 343.043,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40576,
    "c": 0.1268,
    "h": 8
  },
  "luminance": 0.05906
}

Semantic roles & 50–950 ramp

primary
#7E223C
secondary
#4BB194
accent
#E1B547
background
#FAF6F6
surface
#F4EBEC
border
#CEC6C7
text
#100607
muted
#7F7A7A

Preview Lab

Preview with #7E223C

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

Preview Lab → · Contrast checker → · Palette generator →

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