#7E102E#7E102E

#7E102E is a dark, vivid pink. Relative luminance 0.050; OKLCH L 38.7% C 0.142 H 12.8°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#7E102E
RGBrgb(126, 16, 46)
HSLhsl(344, 77%, 28%)
HSVhsv(344, 87%, 49%)
CMYKcmyk(0%, 87.3%, 63.5%, 50.6%)
CIE-LABlab(26.75, 46.00, 12.89)
CIE-LCHlch(26.75, 47.78, 15.65°)
OKLaboklab(38.67% 0.1386 0.0316)
OKLCHoklch(38.67% 0.142 12.8)
XYZxyz(9.2836, 5.0049, 3.0615)
Luminance0.0500 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E102E #107E60
analogous
#7E1065 #7E102E #7E2910
triadic
#7E102E #2E7E10 #102E7E
tetradic
#7E102E #657E10 #107E60 #29107E
square
#7E102E #657E10 #107E60 #29107E
split-complementary
#7E102E #107E29 #10657E
monochromatic
#1B030A #48091A #7E102E #B41742 #E32559

Accessibility & contrast

On white

10.50
#7E102E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#7E102E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E102E
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E102E#FFFFFF#000000##FFFFFF
##7E102E1.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32312E
Deuteranopia (green-blind)
#4D472B
Tritanopia (blue-blind)
#8B001E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7e102e;
/* rgb */ color: rgb(126, 16, 46);
/* oklch */ color: oklch(38.7% 0.142 12.8);
Tailwind
colors: {
  custom: {
    50: '#aa5d66',
    500: '#7e102e',
    950: '#000000',
  },
}
SCSS
$custom: #7e102e;
$custom-light: #aa5d66;
$custom-dark: #000000;
JSON
{
  "hex": "#7e102e",
  "rgb": {
    "r": 126,
    "g": 16,
    "b": 46
  },
  "hsl": {
    "h": 343.636,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.3867,
    "c": 0.14218,
    "h": 12.8
  },
  "luminance": 0.05003
}

Semantic roles & 50–950 ramp

primary
#7E102E
secondary
#36B492
accent
#F4C034
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110505
muted
#80797A

Preview Lab

Preview with #7E102E

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

Preview Lab → · Contrast checker → · Palette generator →

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