#7E173D#7E173D

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

Color values

HEX#7E173D
RGBrgb(126, 23, 61)
HSLhsl(338, 69%, 29%)
HSVhsv(338, 82%, 49%)
CMYKcmyk(0%, 81.7%, 51.6%, 50.6%)
CIE-LABlab(27.81, 45.26, 4.20)
CIE-LCHlch(27.81, 45.45, 5.30°)
OKLaboklab(39.58% 0.1385 0.0111)
OKLCHoklch(39.58% 0.139 4.6)
XYZxyz(9.7538, 5.3867, 4.9401)
Luminance0.0539 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E173D #177E58
analogous
#7E1771 #7E173D #7E2417
triadic
#7E173D #3D7E17 #173D7E
tetradic
#7E173D #717E17 #177E58 #24177E
square
#7E173D #717E17 #177E58 #24177E
split-complementary
#7E173D #177E24 #17717E
monochromatic
#1A050D #4A0E24 #7E173D #B22056 #DA3572

Accessibility & contrast

On white

10.11
#7E173D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E173D
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E173D#FFFFFF#000000##FFFFFF
##7E173D1.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e173d;
/* rgb */ color: rgb(126, 23, 61);
/* oklch */ color: oklch(39.6% 0.139 4.6);
Tailwind
colors: {
  custom: {
    50: '#a96072',
    500: '#7e173d',
    950: '#000000',
  },
}
SCSS
$custom: #7e173d;
$custom-light: #a96072;
$custom-dark: #000000;
JSON
{
  "hex": "#7e173d",
  "rgb": {
    "r": 126,
    "g": 23,
    "b": 61
  },
  "hsl": {
    "h": 337.864,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39576,
    "c": 0.13899,
    "h": 4.6
  },
  "luminance": 0.05385
}

Semantic roles & 50–950 ramp

primary
#7E173D
secondary
#3EB388
accent
#ECAB3C
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#110507
muted
#807A7A

Preview Lab

Preview with #7E173D

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

Preview Lab → · Contrast checker → · Palette generator →

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