#7E223D#7E223D

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

Color values

HEX#7E223D
RGBrgb(126, 34, 61)
HSLhsl(342, 58%, 31%)
HSVhsv(342, 73%, 49%)
CMYKcmyk(0%, 73%, 51.6%, 50.6%)
CIE-LABlab(29.20, 41.35, 6.18)
CIE-LCHlch(29.20, 41.81, 8.50°)
OKLaboklab(40.61% 0.126 0.0161)
OKLCHoklch(40.61% 0.127 7.3)
XYZxyz(10.0194, 5.9179, 5.0286)
Luminance0.0592 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E223D #227E63
analogous
#7E226B #7E223D #7E3522
triadic
#7E223D #3D7E22 #223D7E
tetradic
#7E223D #6B7E22 #227E63 #35227E
square
#7E223D #6B7E22 #227E63 #35227E
split-complementary
#7E223D #227E35 #226B7E
monochromatic
#1E080E #4E1526 #7E223D #AE2F54 #CF4C72

Accessibility & contrast

On white

9.62
#7E223D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E223D
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E223D#FFFFFF#000000##FFFFFF
##7E223D1.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38393E
Deuteranopia (green-blind)
#504C3B
Tritanopia (blue-blind)
#8A112D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e223d;
/* rgb */ color: rgb(126, 34, 61);
/* oklch */ color: oklch(40.6% 0.127 7.3);
Tailwind
colors: {
  custom: {
    50: '#a86572',
    500: '#7e223d',
    950: '#000000',
  },
}
SCSS
$custom: #7e223d;
$custom-light: #a86572;
$custom-dark: #000000;
JSON
{
  "hex": "#7e223d",
  "rgb": {
    "r": 126,
    "g": 34,
    "b": 61
  },
  "hsl": {
    "h": 342.391,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40605,
    "c": 0.12699,
    "h": 7.3
  },
  "luminance": 0.05917
}

Semantic roles & 50–950 ramp

primary
#7E223D
secondary
#4BB193
accent
#E1B447
background
#FAF6F6
surface
#F4EBEC
border
#CEC6C7
text
#100607
muted
#7F7A7A

Preview Lab

Preview with #7E223D

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

Preview Lab → · Contrast checker → · Palette generator →

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