#7E1733#7E1733

#7E1733 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.3% C 0.137 H 11.1°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#7E1733
RGBrgb(126, 23, 51)
HSLhsl(344, 69%, 29%)
HSVhsv(344, 82%, 49%)
CMYKcmyk(0%, 81.7%, 59.5%, 50.6%)
CIE-LABlab(27.54, 44.43, 10.58)
CIE-LCHlch(27.54, 45.67, 13.39°)
OKLaboklab(39.29% 0.1345 0.0264)
OKLCHoklch(39.29% 0.137 11.1)
XYZxyz(9.5091, 5.2888, 3.6515)
Luminance0.0529 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1733 #177E62
analogous
#7E1767 #7E1733 #7E2E17
triadic
#7E1733 #337E17 #17337E
tetradic
#7E1733 #677E17 #177E62 #2E177E
square
#7E1733 #677E17 #177E62 #2E177E
split-complementary
#7E1733 #177E2E #17677E
monochromatic
#1A050A #4A0E1E #7E1733 #B22048 #DA3562

Accessibility & contrast

On white

10.21
#7E1733 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#7E1733 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1733
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1733#FFFFFF#000000##FFFFFF
##7E17331.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343433
Deuteranopia (green-blind)
#4E4930
Tritanopia (blue-blind)
#8A0023
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e1733;
/* rgb */ color: rgb(126, 23, 51);
/* oklch */ color: oklch(39.3% 0.137 11.1);
Tailwind
colors: {
  custom: {
    50: '#a9606a',
    500: '#7e1733',
    950: '#000000',
  },
}
SCSS
$custom: #7e1733;
$custom-light: #a9606a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1733",
  "rgb": {
    "r": 126,
    "g": 23,
    "b": 51
  },
  "hsl": {
    "h": 343.689,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39292,
    "c": 0.13706,
    "h": 11.1
  },
  "luminance": 0.05287
}

Semantic roles & 50–950 ramp

primary
#7E1733
secondary
#3EB393
accent
#ECBC3C
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110506
muted
#80797A

Preview Lab

Preview with #7E1733

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

Preview Lab → · Contrast checker → · Palette generator →

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