#7E1934#7E1934

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

Color values

HEX#7E1934
RGBrgb(126, 25, 52)
HSLhsl(344, 67%, 30%)
HSVhsv(344, 80%, 49%)
CMYKcmyk(0%, 80.2%, 58.7%, 50.6%)
CIE-LABlab(27.79, 43.87, 10.24)
CIE-LCHlch(27.79, 45.05, 13.14°)
OKLaboklab(39.48% 0.1329 0.0257)
OKLCHoklch(39.48% 0.135 10.9)
XYZxyz(9.5726, 5.3802, 3.7826)
Luminance0.0538 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1934 #197E63
analogous
#7E1967 #7E1934 #7E3019
triadic
#7E1934 #347E19 #19347E
tetradic
#7E1934 #677E19 #197E63 #30197E
square
#7E1934 #677E19 #197E63 #30197E
split-complementary
#7E1934 #197E30 #19677E
monochromatic
#1A050B #4B0F1F #7E1934 #B12349 #D83A64

Accessibility & contrast

On white

10.12
#7E1934 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1934
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1934#FFFFFF#000000##FFFFFF
##7E19341.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353434
Deuteranopia (green-blind)
#4E4931
Tritanopia (blue-blind)
#8A0025
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e1934;
/* rgb */ color: rgb(126, 25, 52);
/* oklch */ color: oklch(39.5% 0.135 10.9);
Tailwind
colors: {
  custom: {
    50: '#a9606b',
    500: '#7e1934',
    950: '#000000',
  },
}
SCSS
$custom: #7e1934;
$custom-light: #a9606b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1934",
  "rgb": {
    "r": 126,
    "g": 25,
    "b": 52
  },
  "hsl": {
    "h": 343.96,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39484,
    "c": 0.13532,
    "h": 10.9
  },
  "luminance": 0.05379
}

Semantic roles & 50–950 ramp

primary
#7E1934
secondary
#41B294
accent
#EABC3E
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110506
muted
#807A7A

Preview Lab

Preview with #7E1934

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

Preview Lab → · Contrast checker → · Palette generator →

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