#7E123B#7E123B

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

Color values

HEX#7E123B
RGBrgb(126, 18, 59)
HSLhsl(337, 75%, 28%)
HSVhsv(337, 86%, 49%)
CMYKcmyk(0%, 85.7%, 53.2%, 50.6%)
CIE-LABlab(27.26, 46.49, 4.76)
CIE-LCHlch(27.26, 46.73, 5.85°)
OKLaboklab(39.15% 0.1423 0.0125)
OKLCHoklch(39.15% 0.143 5)
XYZxyz(9.6108, 5.1854, 4.6316)
Luminance0.0518 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E123B #127E55
analogous
#7E1271 #7E123B #7E1F12
triadic
#7E123B #3B7E12 #123B7E
tetradic
#7E123B #717E12 #127E55 #1F127E
square
#7E123B #717E12 #127E55 #1F127E
split-complementary
#7E123B #127E1F #12717E
monochromatic
#1B040D #480A22 #7E123B #B41A54 #E12A6F

Accessibility & contrast

On white

10.31
#7E123B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E123B
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E123B#FFFFFF#000000##FFFFFF
##7E123B1.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30333C
Deuteranopia (green-blind)
#4C4838
Tritanopia (blue-blind)
#8A0025
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7e123b;
/* rgb */ color: rgb(126, 18, 59);
/* oklch */ color: oklch(39.2% 0.143 5.0);
Tailwind
colors: {
  custom: {
    50: '#a95e70',
    500: '#7e123b',
    950: '#000000',
  },
}
SCSS
$custom: #7e123b;
$custom-light: #a95e70;
$custom-dark: #000000;
JSON
{
  "hex": "#7e123b",
  "rgb": {
    "r": 126,
    "g": 18,
    "b": 59
  },
  "hsl": {
    "h": 337.222,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39151,
    "c": 0.14286,
    "h": 5
  },
  "luminance": 0.05184
}

Semantic roles & 50–950 ramp

primary
#7E123B
secondary
#38B485
accent
#F2AA36
background
#FBF5F6
surface
#F6EAEC
border
#D0C6C7
text
#110507
muted
#80797A

Preview Lab

Preview with #7E123B

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

Preview Lab → · Contrast checker → · Palette generator →

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