#7E122F#7E122F

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

Color values

HEX#7E122F
RGBrgb(126, 18, 47)
HSLhsl(344, 75%, 28%)
HSVhsv(344, 86%, 49%)
CMYKcmyk(0%, 85.7%, 62.7%, 50.6%)
CIE-LABlab(26.95, 45.57, 12.48)
CIE-LCHlch(26.95, 47.25, 15.31°)
OKLaboklab(38.82% 0.1374 0.0307)
OKLCHoklch(38.82% 0.141 12.6)
XYZxyz(9.3346, 5.0749, 3.1768)
Luminance0.0507 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E122F #127E61
analogous
#7E1265 #7E122F #7E2B12
triadic
#7E122F #2F7E12 #122F7E
tetradic
#7E122F #657E12 #127E61 #2B127E
square
#7E122F #657E12 #127E61 #2B127E
split-complementary
#7E122F #127E2B #12657E
monochromatic
#1B040A #480A1B #7E122F #B41A43 #E12A5B

Accessibility & contrast

On white

10.42
#7E122F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E122F
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E122F#FFFFFF#000000##FFFFFF
##7E122F1.0010.422.0110.42
#FFFFFF10.421.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32322F
Deuteranopia (green-blind)
#4E472C
Tritanopia (blue-blind)
#8B001F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7e122f;
/* rgb */ color: rgb(126, 18, 47);
/* oklch */ color: oklch(38.8% 0.141 12.6);
Tailwind
colors: {
  custom: {
    50: '#aa5e67',
    500: '#7e122f',
    950: '#000000',
  },
}
SCSS
$custom: #7e122f;
$custom-light: #aa5e67;
$custom-dark: #000000;
JSON
{
  "hex": "#7e122f",
  "rgb": {
    "r": 126,
    "g": 18,
    "b": 47
  },
  "hsl": {
    "h": 343.889,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38823,
    "c": 0.14081,
    "h": 12.6
  },
  "luminance": 0.05073
}

Semantic roles & 50–950 ramp

primary
#7E122F
secondary
#38B493
accent
#F2BF36
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110506
muted
#80797A

Preview Lab

Preview with #7E122F

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

Preview Lab → · Contrast checker → · Palette generator →

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