#7E123F#7E123F

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

Color values

HEX#7E123F
RGBrgb(126, 18, 63)
HSLhsl(335, 75%, 28%)
HSVhsv(335, 86%, 49%)
CMYKcmyk(0%, 85.7%, 50%, 50.6%)
CIE-LABlab(27.38, 46.84, 2.23)
CIE-LCHlch(27.38, 46.89, 2.72°)
OKLaboklab(39.28% 0.1438 0.0062)
OKLCHoklch(39.28% 0.144 2.5)
XYZxyz(9.7185, 5.2285, 5.1991)
Luminance0.0523 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E123F #127E51
analogous
#7E1275 #7E123F #7E1B12
triadic
#7E123F #3F7E12 #123F7E
tetradic
#7E123F #757E12 #127E51 #1B127E
square
#7E123F #757E12 #127E51 #1B127E
split-complementary
#7E123F #127E1B #12757E
monochromatic
#1B040D #480A24 #7E123F #B41A5A #E12A76

Accessibility & contrast

On white

10.27
#7E123F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#7E123F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E123F
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E123F#FFFFFF#000000##FFFFFF
##7E123F1.0010.272.0510.27
#FFFFFF10.271.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3340
Deuteranopia (green-blind)
#4B483D
Tritanopia (blue-blind)
#8A0027
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e123f;
/* rgb */ color: rgb(126, 18, 63);
/* oklch */ color: oklch(39.3% 0.144 2.5);
Tailwind
colors: {
  custom: {
    50: '#a95e73',
    500: '#7e123f',
    950: '#000000',
  },
}
SCSS
$custom: #7e123f;
$custom-light: #a95e73;
$custom-dark: #000000;
JSON
{
  "hex": "#7e123f",
  "rgb": {
    "r": 126,
    "g": 18,
    "b": 63
  },
  "hsl": {
    "h": 335,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39278,
    "c": 0.14396,
    "h": 2.5
  },
  "luminance": 0.05227
}

Semantic roles & 50–950 ramp

primary
#7E123F
secondary
#38B480
accent
#F2A436
background
#FBF5F7
surface
#F6EAED
border
#D0C6C8
text
#110508
muted
#80797B

Preview Lab

Preview with #7E123F

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

Preview Lab → · Contrast checker → · Palette generator →

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