#7E1835#7E1835

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

Color values

HEX#7E1835
RGBrgb(126, 24, 53)
HSLhsl(343, 68%, 29%)
HSVhsv(343, 81%, 49%)
CMYKcmyk(0%, 81%, 57.9%, 50.6%)
CIE-LABlab(27.70, 44.27, 9.45)
CIE-LCHlch(27.70, 45.27, 12.04°)
OKLaboklab(39.43% 0.1343 0.0238)
OKLCHoklch(39.43% 0.136 10.1)
XYZxyz(9.5744, 5.3473, 3.8955)
Luminance0.0535 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1835 #187E61
analogous
#7E1868 #7E1835 #7E2E18
triadic
#7E1835 #357E18 #18357E
tetradic
#7E1835 #687E18 #187E61 #2E187E
square
#7E1835 #687E18 #187E61 #2E187E
split-complementary
#7E1835 #187E2E #18687E
monochromatic
#1A050B #4B0E1F #7E1835 #B1224B #D93765

Accessibility & contrast

On white

10.15
#7E1835 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E1835
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1835#FFFFFF#000000##FFFFFF
##7E18351.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e1835;
/* rgb */ color: rgb(126, 24, 53);
/* oklch */ color: oklch(39.4% 0.136 10.1);
Tailwind
colors: {
  custom: {
    50: '#a9606b',
    500: '#7e1835',
    950: '#000000',
  },
}
SCSS
$custom: #7e1835;
$custom-light: #a9606b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1835",
  "rgb": {
    "r": 126,
    "g": 24,
    "b": 53
  },
  "hsl": {
    "h": 342.941,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39426,
    "c": 0.1364,
    "h": 10.1
  },
  "luminance": 0.05346
}

Semantic roles & 50–950 ramp

primary
#7E1835
secondary
#3FB292
accent
#EBB93D
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110506
muted
#807A7A

Preview Lab

Preview with #7E1835

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

Preview Lab → · Contrast checker → · Palette generator →

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