#7E223B#7E223B

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

Color values

HEX#7E223B
RGBrgb(126, 34, 59)
HSLhsl(344, 58%, 31%)
HSVhsv(344, 73%, 49%)
CMYKcmyk(0%, 73%, 53.2%, 50.6%)
CIE-LABlab(29.15, 41.16, 7.44)
CIE-LCHlch(29.15, 41.83, 10.24°)
OKLaboklab(40.55% 0.1252 0.0191)
OKLCHoklch(40.55% 0.127 8.7)
XYZxyz(9.9665, 5.8968, 4.7502)
Luminance0.0590 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E223B #227E65
analogous
#7E2269 #7E223B #7E3722
triadic
#7E223B #3B7E22 #223B7E
tetradic
#7E223B #697E22 #227E65 #37227E
square
#7E223B #697E22 #227E65 #37227E
split-complementary
#7E223B #227E37 #22697E
monochromatic
#1E080E #4E1524 #7E223B #AE2F52 #CF4C6F

Accessibility & contrast

On white

9.64
#7E223B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E223B
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E223B#FFFFFF#000000##FFFFFF
##7E223B1.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38393B
Deuteranopia (green-blind)
#504B39
Tritanopia (blue-blind)
#8A102C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e223b;
/* rgb */ color: rgb(126, 34, 59);
/* oklch */ color: oklch(40.5% 0.127 8.7);
Tailwind
colors: {
  custom: {
    50: '#a86570',
    500: '#7e223b',
    950: '#000000',
  },
}
SCSS
$custom: #7e223b;
$custom-light: #a86570;
$custom-dark: #000000;
JSON
{
  "hex": "#7e223b",
  "rgb": {
    "r": 126,
    "g": 34,
    "b": 59
  },
  "hsl": {
    "h": 343.696,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.40548,
    "c": 0.12661,
    "h": 8.7
  },
  "luminance": 0.05895
}

Semantic roles & 50–950 ramp

primary
#7E223B
secondary
#4BB195
accent
#E1B747
background
#FAF6F6
surface
#F5EBEC
border
#CFC6C7
text
#110607
muted
#807A7A

Preview Lab

Preview with #7E223B

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

Preview Lab → · Contrast checker → · Palette generator →

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