#7E123D#7E123D

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

Color values

HEX#7E123D
RGBrgb(126, 18, 61)
HSLhsl(336, 75%, 28%)
HSVhsv(336, 86%, 49%)
CMYKcmyk(0%, 85.7%, 51.6%, 50.6%)
CIE-LABlab(27.32, 46.66, 3.49)
CIE-LCHlch(27.32, 46.79, 4.28°)
OKLaboklab(39.21% 0.1431 0.0094)
OKLCHoklch(39.21% 0.143 3.7)
XYZxyz(9.6637, 5.2065, 4.9101)
Luminance0.0520 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E123D #127E53
analogous
#7E1273 #7E123D #7E1D12
triadic
#7E123D #3D7E12 #123D7E
tetradic
#7E123D #737E12 #127E53 #1D127E
square
#7E123D #737E12 #127E53 #1D127E
split-complementary
#7E123D #127E1D #12737E
monochromatic
#1B040D #480A23 #7E123D #B41A57 #E12A73

Accessibility & contrast

On white

10.29
#7E123D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#7E123D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E123D
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E123D#FFFFFF#000000##FFFFFF
##7E123D1.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F333E
Deuteranopia (green-blind)
#4B483A
Tritanopia (blue-blind)
#8A0026
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7e123d;
/* rgb */ color: rgb(126, 18, 61);
/* oklch */ color: oklch(39.2% 0.143 3.7);
Tailwind
colors: {
  custom: {
    50: '#a95e72',
    500: '#7e123d',
    950: '#000000',
  },
}
SCSS
$custom: #7e123d;
$custom-light: #a95e72;
$custom-dark: #000000;
JSON
{
  "hex": "#7e123d",
  "rgb": {
    "r": 126,
    "g": 18,
    "b": 61
  },
  "hsl": {
    "h": 336.111,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39213,
    "c": 0.14339,
    "h": 3.7
  },
  "luminance": 0.05205
}

Semantic roles & 50–950 ramp

primary
#7E123D
secondary
#38B483
accent
#F2A736
background
#FBF5F6
surface
#F6EAEC
border
#D0C6C7
text
#110507
muted
#80797A

Preview Lab

Preview with #7E123D

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

Preview Lab → · Contrast checker → · Palette generator →

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