#7E173E#7E173E

#7E173E is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.6% C 0.139 H 3.9°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#7E173E
RGBrgb(126, 23, 62)
HSLhsl(337, 69%, 29%)
HSVhsv(337, 82%, 49%)
CMYKcmyk(0%, 81.7%, 50.8%, 50.6%)
CIE-LABlab(27.84, 45.35, 3.57)
CIE-LCHlch(27.84, 45.49, 4.50°)
OKLaboklab(39.61% 0.1389 0.0096)
OKLCHoklch(39.61% 0.139 3.9)
XYZxyz(9.7809, 5.3976, 5.0833)
Luminance0.0540 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E173E #177E57
analogous
#7E1772 #7E173E #7E2417
triadic
#7E173E #3E7E17 #173E7E
tetradic
#7E173E #727E17 #177E57 #24177E
square
#7E173E #727E17 #177E57 #24177E
split-complementary
#7E173E #177E24 #17727E
monochromatic
#1A050D #4A0E25 #7E173E #B22057 #DA3574

Accessibility & contrast

On white

10.10
#7E173E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#7E173E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E173E
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E173E#FFFFFF#000000##FFFFFF
##7E173E1.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31353F
Deuteranopia (green-blind)
#4C493C
Tritanopia (blue-blind)
#8A0028
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e173e;
/* rgb */ color: rgb(126, 23, 62);
/* oklch */ color: oklch(39.6% 0.139 3.9);
Tailwind
colors: {
  custom: {
    50: '#a96073',
    500: '#7e173e',
    950: '#000000',
  },
}
SCSS
$custom: #7e173e;
$custom-light: #a96073;
$custom-dark: #000000;
JSON
{
  "hex": "#7e173e",
  "rgb": {
    "r": 126,
    "g": 23,
    "b": 62
  },
  "hsl": {
    "h": 337.282,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39607,
    "c": 0.13925,
    "h": 3.9
  },
  "luminance": 0.05396
}

Semantic roles & 50–950 ramp

primary
#7E173E
secondary
#3EB387
accent
#ECA93C
background
#FAF6F6
surface
#F5EBEC
border
#CFC6C7
text
#110508
muted
#807A7B

Preview Lab

Preview with #7E173E

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

Preview Lab → · Contrast checker → · Palette generator →

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