#7E122E#7E122E

#7E122E is a dark, vivid pink. Relative luminance 0.051; OKLCH L 38.8% C 0.141 H 13.2°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#7E122E
RGBrgb(126, 18, 46)
HSLhsl(344, 75%, 28%)
HSVhsv(344, 86%, 49%)
CMYKcmyk(0%, 85.7%, 63.5%, 50.6%)
CIE-LABlab(26.92, 45.50, 13.12)
CIE-LCHlch(26.92, 47.36, 16.09°)
OKLaboklab(38.8% 0.137 0.0321)
OKLCHoklch(38.8% 0.141 13.2)
XYZxyz(9.3146, 5.0669, 3.0718)
Luminance0.0507 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E122E #127E62
analogous
#7E1264 #7E122E #7E2C12
triadic
#7E122E #2E7E12 #122E7E
tetradic
#7E122E #647E12 #127E62 #2C127E
square
#7E122E #647E12 #127E62 #2C127E
split-complementary
#7E122E #127E2C #12647E
monochromatic
#1B040A #480A1A #7E122E #B41A42 #E12A59

Accessibility & contrast

On white

10.43
#7E122E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#7E122E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E122E
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E122E#FFFFFF#000000##FFFFFF
##7E122E1.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33322E
Deuteranopia (green-blind)
#4E472B
Tritanopia (blue-blind)
#8B001F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7e122e;
/* rgb */ color: rgb(126, 18, 46);
/* oklch */ color: oklch(38.8% 0.141 13.2);
Tailwind
colors: {
  custom: {
    50: '#aa5e66',
    500: '#7e122e',
    950: '#000000',
  },
}
SCSS
$custom: #7e122e;
$custom-light: #aa5e66;
$custom-dark: #000000;
JSON
{
  "hex": "#7e122e",
  "rgb": {
    "r": 126,
    "g": 18,
    "b": 46
  },
  "hsl": {
    "h": 344.444,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38799,
    "c": 0.14072,
    "h": 13.2
  },
  "luminance": 0.05065
}

Semantic roles & 50–950 ramp

primary
#7E122E
secondary
#38B494
accent
#F2C136
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110505
muted
#80797A

Preview Lab

Preview with #7E122E

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

Preview Lab → · Contrast checker → · Palette generator →

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