#7E1837#7E1837

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

Color values

HEX#7E1837
RGBrgb(126, 24, 55)
HSLhsl(342, 68%, 29%)
HSVhsv(342, 81%, 49%)
CMYKcmyk(0%, 81%, 56.3%, 50.6%)
CIE-LABlab(27.75, 44.43, 8.17)
CIE-LCHlch(27.75, 45.18, 10.42°)
OKLaboklab(39.48% 0.1351 0.0208)
OKLCHoklch(39.48% 0.137 8.7)
XYZxyz(9.6213, 5.3661, 4.1428)
Luminance0.0537 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1837 #187E5F
analogous
#7E186A #7E1837 #7E2C18
triadic
#7E1837 #377E18 #18377E
tetradic
#7E1837 #6A7E18 #187E5F #2C187E
square
#7E1837 #6A7E18 #187E5F #2C187E
split-complementary
#7E1837 #187E2C #186A7E
monochromatic
#1A050B #4B0E21 #7E1837 #B1224D #D93769

Accessibility & contrast

On white

10.13
#7E1837 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#7E1837 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1837
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1837#FFFFFF#000000##FFFFFF
##7E18371.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333438
Deuteranopia (green-blind)
#4E4934
Tritanopia (blue-blind)
#8A0025
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e1837;
/* rgb */ color: rgb(126, 24, 55);
/* oklch */ color: oklch(39.5% 0.137 8.7);
Tailwind
colors: {
  custom: {
    50: '#a9606d',
    500: '#7e1837',
    950: '#000000',
  },
}
SCSS
$custom: #7e1837;
$custom-light: #a9606d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1837",
  "rgb": {
    "r": 126,
    "g": 24,
    "b": 55
  },
  "hsl": {
    "h": 341.765,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39481,
    "c": 0.13673,
    "h": 8.7
  },
  "luminance": 0.05365
}

Semantic roles & 50–950 ramp

primary
#7E1837
secondary
#3FB28F
accent
#EBB63D
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110507
muted
#807A7A

Preview Lab

Preview with #7E1837

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

Preview Lab → · Contrast checker → · Palette generator →

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