#7E102C#7E102C

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

Color values

HEX#7E102C
RGBrgb(126, 16, 44)
HSLhsl(345, 77%, 28%)
HSVhsv(345, 87%, 49%)
CMYKcmyk(0%, 87.3%, 65.1%, 50.6%)
CIE-LABlab(26.70, 45.87, 14.19)
CIE-LCHlch(26.70, 48.02, 17.18°)
OKLaboklab(38.62% 0.1378 0.0344)
OKLCHoklch(38.62% 0.142 14)
XYZxyz(9.2451, 4.9895, 2.8587)
Luminance0.0499 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E102C #107E62
analogous
#7E1063 #7E102C #7E2B10
triadic
#7E102C #2C7E10 #102C7E
tetradic
#7E102C #637E10 #107E62 #2B107E
square
#7E102C #637E10 #107E62 #2B107E
split-complementary
#7E102C #107E2B #10637E
monochromatic
#1B0309 #480919 #7E102C #B4173F #E32556

Accessibility & contrast

On white

10.51
#7E102C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E102C
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E102C#FFFFFF#000000##FFFFFF
##7E102C1.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32312C
Deuteranopia (green-blind)
#4E4729
Tritanopia (blue-blind)
#8B001D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7e102c;
/* rgb */ color: rgb(126, 16, 44);
/* oklch */ color: oklch(38.6% 0.142 14.0);
Tailwind
colors: {
  custom: {
    50: '#aa5d64',
    500: '#7e102c',
    950: '#000000',
  },
}
SCSS
$custom: #7e102c;
$custom-light: #aa5d64;
$custom-dark: #000000;
JSON
{
  "hex": "#7e102c",
  "rgb": {
    "r": 126,
    "g": 16,
    "b": 44
  },
  "hsl": {
    "h": 344.727,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.38623,
    "c": 0.14202,
    "h": 14
  },
  "luminance": 0.04988
}

Semantic roles & 50–950 ramp

primary
#7E102C
secondary
#36B494
accent
#F4C334
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110505
muted
#80797A

Preview Lab

Preview with #7E102C

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

Preview Lab → · Contrast checker → · Palette generator →

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