#7E123A#7E123A

#7E123A is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.1% C 0.143 H 5.7°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#7E123A
RGBrgb(126, 18, 58)
HSLhsl(338, 75%, 28%)
HSVhsv(338, 86%, 49%)
CMYKcmyk(0%, 85.7%, 54%, 50.6%)
CIE-LABlab(27.23, 46.40, 5.40)
CIE-LCHlch(27.23, 46.72, 6.64°)
OKLaboklab(39.12% 0.1419 0.0141)
OKLCHoklch(39.12% 0.143 5.7)
XYZxyz(9.5851, 5.1751, 4.4963)
Luminance0.0517 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E123A #127E56
analogous
#7E1270 #7E123A #7E2012
triadic
#7E123A #3A7E12 #123A7E
tetradic
#7E123A #707E12 #127E56 #20127E
square
#7E123A #707E12 #127E56 #20127E
split-complementary
#7E123A #127E20 #12707E
monochromatic
#1B040C #480A21 #7E123A #B41A53 #E12A6E

Accessibility & contrast

On white

10.32
#7E123A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#7E123A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E123A
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E123A#FFFFFF#000000##FFFFFF
##7E123A1.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30333B
Deuteranopia (green-blind)
#4C4837
Tritanopia (blue-blind)
#8A0024
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7e123a;
/* rgb */ color: rgb(126, 18, 58);
/* oklch */ color: oklch(39.1% 0.143 5.7);
Tailwind
colors: {
  custom: {
    50: '#a95e6f',
    500: '#7e123a',
    950: '#000000',
  },
}
SCSS
$custom: #7e123a;
$custom-light: #a95e6f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e123a",
  "rgb": {
    "r": 126,
    "g": 18,
    "b": 58
  },
  "hsl": {
    "h": 337.778,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39121,
    "c": 0.14262,
    "h": 5.7
  },
  "luminance": 0.05174
}

Semantic roles & 50–950 ramp

primary
#7E123A
secondary
#38B486
accent
#F2AC36
background
#FBF5F6
surface
#F6EAEC
border
#D0C6C7
text
#110507
muted
#80797A

Preview Lab

Preview with #7E123A

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

Preview Lab → · Contrast checker → · Palette generator →

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