#7E183A#7E183A

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

Color values

HEX#7E183A
RGBrgb(126, 24, 58)
HSLhsl(340, 68%, 29%)
HSVhsv(340, 81%, 49%)
CMYKcmyk(0%, 81%, 54%, 50.6%)
CIE-LABlab(27.83, 44.68, 6.26)
CIE-LCHlch(27.83, 45.12, 7.97°)
OKLaboklab(39.57% 0.1364 0.0162)
OKLCHoklch(39.57% 0.137 6.8)
XYZxyz(9.6954, 5.3957, 4.5331)
Luminance0.0539 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E183A #187E5C
analogous
#7E186D #7E183A #7E2918
triadic
#7E183A #3A7E18 #183A7E
tetradic
#7E183A #6D7E18 #187E5C #29187E
square
#7E183A #6D7E18 #187E5C #29187E
split-complementary
#7E183A #187E29 #186D7E
monochromatic
#1A050C #4B0E22 #7E183A #B12252 #D9376D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E183A#FFFFFF#000000##FFFFFF
##7E183A1.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)
#33353B
Deuteranopia (green-blind)
#4D4938
Tritanopia (blue-blind)
#8A0027
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e183a;
/* rgb */ color: rgb(126, 24, 58);
/* oklch */ color: oklch(39.6% 0.137 6.8);
Tailwind
colors: {
  custom: {
    50: '#a9606f',
    500: '#7e183a',
    950: '#000000',
  },
}
SCSS
$custom: #7e183a;
$custom-light: #a9606f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e183a",
  "rgb": {
    "r": 126,
    "g": 24,
    "b": 58
  },
  "hsl": {
    "h": 340,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39566,
    "c": 0.13731,
    "h": 6.8
  },
  "luminance": 0.05394
}

Semantic roles & 50–950 ramp

primary
#7E183A
secondary
#3FB28C
accent
#EBB13D
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#110507
muted
#807A7A

Preview Lab

Preview with #7E183A

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

Preview Lab → · Contrast checker → · Palette generator →

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