#7E123C#7E123C

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

Color values

HEX#7E123C
RGBrgb(126, 18, 60)
HSLhsl(337, 75%, 28%)
HSVhsv(337, 86%, 49%)
CMYKcmyk(0%, 85.7%, 52.4%, 50.6%)
CIE-LABlab(27.29, 46.57, 4.13)
CIE-LCHlch(27.29, 46.76, 5.07°)
OKLaboklab(39.18% 0.1427 0.0109)
OKLCHoklch(39.18% 0.143 4.4)
XYZxyz(9.6370, 5.1959, 4.7695)
Luminance0.0519 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E123C #127E54
analogous
#7E1272 #7E123C #7E1E12
triadic
#7E123C #3C7E12 #123C7E
tetradic
#7E123C #727E12 #127E54 #1E127E
square
#7E123C #727E12 #127E54 #1E127E
split-complementary
#7E123C #127E1E #12727E
monochromatic
#1B040D #480A22 #7E123C #B41A55 #E12A71

Accessibility & contrast

On white

10.30
#7E123C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E123C
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E123C#FFFFFF#000000##FFFFFF
##7E123C1.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F333D
Deuteranopia (green-blind)
#4C4839
Tritanopia (blue-blind)
#8A0025
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7e123c;
/* rgb */ color: rgb(126, 18, 60);
/* oklch */ color: oklch(39.2% 0.143 4.4);
Tailwind
colors: {
  custom: {
    50: '#a95e71',
    500: '#7e123c',
    950: '#000000',
  },
}
SCSS
$custom: #7e123c;
$custom-light: #a95e71;
$custom-dark: #000000;
JSON
{
  "hex": "#7e123c",
  "rgb": {
    "r": 126,
    "g": 18,
    "b": 60
  },
  "hsl": {
    "h": 336.667,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39182,
    "c": 0.14312,
    "h": 4.4
  },
  "luminance": 0.05194
}

Semantic roles & 50–950 ramp

primary
#7E123C
secondary
#38B484
accent
#F2A936
background
#FBF5F6
surface
#F6EAEC
border
#D0C6C7
text
#110507
muted
#80797A

Preview Lab

Preview with #7E123C

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

Preview Lab → · Contrast checker → · Palette generator →

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