#7E193B#7E193B

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

Color values

HEX#7E193B
RGBrgb(126, 25, 59)
HSLhsl(340, 67%, 30%)
HSVhsv(340, 80%, 49%)
CMYKcmyk(0%, 80.2%, 53.2%, 50.6%)
CIE-LABlab(27.97, 44.45, 5.78)
CIE-LCHlch(27.97, 44.82, 7.41°)
OKLaboklab(39.68% 0.1357 0.015)
OKLCHoklch(39.68% 0.137 6.3)
XYZxyz(9.7421, 5.4480, 4.6754)
Luminance0.0545 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E193B #197E5C
analogous
#7E196E #7E193B #7E2A19
triadic
#7E193B #3B7E19 #193B7E
tetradic
#7E193B #6E7E19 #197E5C #2A197E
square
#7E193B #6E7E19 #197E5C #2A197E
split-complementary
#7E193B #197E2A #196E7E
monochromatic
#1A050C #4B0F23 #7E193B #B12353 #D83A6F

Accessibility & contrast

On white

10.05
#7E193B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#7E193B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E193B
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E193B#FFFFFF#000000##FFFFFF
##7E193B1.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33353C
Deuteranopia (green-blind)
#4D4939
Tritanopia (blue-blind)
#8A0028
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e193b;
/* rgb */ color: rgb(126, 25, 59);
/* oklch */ color: oklch(39.7% 0.137 6.3);
Tailwind
colors: {
  custom: {
    50: '#a96170',
    500: '#7e193b',
    950: '#000000',
  },
}
SCSS
$custom: #7e193b;
$custom-light: #a96170;
$custom-dark: #000000;
JSON
{
  "hex": "#7e193b",
  "rgb": {
    "r": 126,
    "g": 25,
    "b": 59
  },
  "hsl": {
    "h": 339.802,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39679,
    "c": 0.13655,
    "h": 6.3
  },
  "luminance": 0.05447
}

Semantic roles & 50–950 ramp

primary
#7E193B
secondary
#41B28C
accent
#EAB03E
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#110507
muted
#807A7A

Preview Lab

Preview with #7E193B

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

Preview Lab → · Contrast checker → · Palette generator →

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