#7E123E#7E123E

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

Color values

HEX#7E123E
RGBrgb(126, 18, 62)
HSLhsl(336, 75%, 28%)
HSVhsv(336, 86%, 49%)
CMYKcmyk(0%, 85.7%, 50.8%, 50.6%)
CIE-LABlab(27.35, 46.75, 2.86)
CIE-LCHlch(27.35, 46.84, 3.50°)
OKLaboklab(39.25% 0.1435 0.0078)
OKLCHoklch(39.25% 0.144 3.1)
XYZxyz(9.6909, 5.2174, 5.0533)
Luminance0.0522 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E123E #127E52
analogous
#7E1274 #7E123E #7E1C12
triadic
#7E123E #3E7E12 #123E7E
tetradic
#7E123E #747E12 #127E52 #1C127E
square
#7E123E #747E12 #127E52 #1C127E
split-complementary
#7E123E #127E1C #12747E
monochromatic
#1B040D #480A24 #7E123E #B41A58 #E12A74

Accessibility & contrast

On white

10.28
#7E123E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7E123E
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E123E#FFFFFF#000000##FFFFFF
##7E123E1.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F333F
Deuteranopia (green-blind)
#4B483C
Tritanopia (blue-blind)
#8A0026
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e123e;
/* rgb */ color: rgb(126, 18, 62);
/* oklch */ color: oklch(39.2% 0.144 3.1);
Tailwind
colors: {
  custom: {
    50: '#a95e73',
    500: '#7e123e',
    950: '#000000',
  },
}
SCSS
$custom: #7e123e;
$custom-light: #a95e73;
$custom-dark: #000000;
JSON
{
  "hex": "#7e123e",
  "rgb": {
    "r": 126,
    "g": 18,
    "b": 62
  },
  "hsl": {
    "h": 335.556,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39245,
    "c": 0.14367,
    "h": 3.1
  },
  "luminance": 0.05216
}

Semantic roles & 50–950 ramp

primary
#7E123E
secondary
#38B481
accent
#F2A536
background
#FBF5F6
surface
#F6EAEC
border
#D0C6C7
text
#110508
muted
#80797B

Preview Lab

Preview with #7E123E

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

Preview Lab → · Contrast checker → · Palette generator →

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