#7E223E#7E223E

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

Color values

HEX#7E223E
RGBrgb(126, 34, 62)
HSLhsl(342, 58%, 31%)
HSVhsv(342, 73%, 49%)
CMYKcmyk(0%, 73%, 50.8%, 50.6%)
CIE-LABlab(29.23, 41.44, 5.56)
CIE-LCHlch(29.23, 41.81, 7.64°)
OKLaboklab(40.64% 0.1264 0.0145)
OKLCHoklch(40.64% 0.127 6.6)
XYZxyz(10.0466, 5.9288, 5.1718)
Luminance0.0593 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E223E #227E62
analogous
#7E226C #7E223E #7E3422
triadic
#7E223E #3E7E22 #223E7E
tetradic
#7E223E #6C7E22 #227E62 #34227E
square
#7E223E #6C7E22 #227E62 #34227E
split-complementary
#7E223E #227E34 #226C7E
monochromatic
#1E080F #4E1526 #7E223E #AE2F56 #CF4C74

Accessibility & contrast

On white

9.61
#7E223E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#7E223E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E223E
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E223E#FFFFFF#000000##FFFFFF
##7E223E1.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37393F
Deuteranopia (green-blind)
#504C3C
Tritanopia (blue-blind)
#89112D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e223e;
/* rgb */ color: rgb(126, 34, 62);
/* oklch */ color: oklch(40.6% 0.127 6.6);
Tailwind
colors: {
  custom: {
    50: '#a86573',
    500: '#7e223e',
    950: '#000000',
  },
}
SCSS
$custom: #7e223e;
$custom-light: #a86573;
$custom-dark: #000000;
JSON
{
  "hex": "#7e223e",
  "rgb": {
    "r": 126,
    "g": 34,
    "b": 62
  },
  "hsl": {
    "h": 341.739,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40635,
    "c": 0.1272,
    "h": 6.6
  },
  "luminance": 0.05927
}

Semantic roles & 50–950 ramp

primary
#7E223E
secondary
#4BB192
accent
#E1B247
background
#FAF6F6
surface
#F4EBEC
border
#CEC6C7
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #7E223E

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

Preview Lab → · Contrast checker → · Palette generator →

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