#7E1834#7E1834

#7E1834 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.4% C 0.136 H 10.7°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#7E1834
RGBrgb(126, 24, 52)
HSLhsl(344, 68%, 29%)
HSVhsv(344, 81%, 49%)
CMYKcmyk(0%, 81%, 58.7%, 50.6%)
CIE-LABlab(27.68, 44.20, 10.09)
CIE-LCHlch(27.68, 45.33, 12.86°)
OKLaboklab(39.4% 0.1339 0.0253)
OKLCHoklch(39.4% 0.136 10.7)
XYZxyz(9.5516, 5.3382, 3.7756)
Luminance0.0534 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1834 #187E62
analogous
#7E1867 #7E1834 #7E2F18
triadic
#7E1834 #347E18 #18347E
tetradic
#7E1834 #677E18 #187E62 #2F187E
square
#7E1834 #677E18 #187E62 #2F187E
split-complementary
#7E1834 #187E2F #18677E
monochromatic
#1A050B #4B0E1F #7E1834 #B12249 #D93764

Accessibility & contrast

On white

10.16
#7E1834 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1834
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1834#FFFFFF#000000##FFFFFF
##7E18341.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343434
Deuteranopia (green-blind)
#4E4931
Tritanopia (blue-blind)
#8A0024
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e1834;
/* rgb */ color: rgb(126, 24, 52);
/* oklch */ color: oklch(39.4% 0.136 10.7);
Tailwind
colors: {
  custom: {
    50: '#a9606b',
    500: '#7e1834',
    950: '#000000',
  },
}
SCSS
$custom: #7e1834;
$custom-light: #a9606b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1834",
  "rgb": {
    "r": 126,
    "g": 24,
    "b": 52
  },
  "hsl": {
    "h": 343.529,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.394,
    "c": 0.13627,
    "h": 10.7
  },
  "luminance": 0.05337
}

Semantic roles & 50–950 ramp

primary
#7E1834
secondary
#3FB293
accent
#EBBB3D
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110506
muted
#807A7A

Preview Lab

Preview with #7E1834

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

Preview Lab → · Contrast checker → · Palette generator →

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