#7E1234#7E1234

#7E1234 is a dark, vivid pink. Relative luminance 0.051; OKLCH L 39.0% C 0.141 H 9.5°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#7E1234
RGBrgb(126, 18, 52)
HSLhsl(341, 75%, 28%)
HSVhsv(341, 86%, 49%)
CMYKcmyk(0%, 85.7%, 58.7%, 50.6%)
CIE-LABlab(27.07, 45.93, 9.25)
CIE-LCHlch(27.07, 46.85, 11.38°)
OKLaboklab(38.95% 0.1395 0.0233)
OKLCHoklch(38.95% 0.141 9.5)
XYZxyz(9.4413, 5.1176, 3.7388)
Luminance0.0512 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1234 #127E5C
analogous
#7E126A #7E1234 #7E2612
triadic
#7E1234 #347E12 #12347E
tetradic
#7E1234 #6A7E12 #127E5C #26127E
square
#7E1234 #6A7E12 #127E5C #26127E
split-complementary
#7E1234 #127E26 #126A7E
monochromatic
#1B040B #480A1E #7E1234 #B41A4A #E12A63

Accessibility & contrast

On white

10.38
#7E1234 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#7E1234 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1234
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1234#FFFFFF#000000##FFFFFF
##7E12341.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313235
Deuteranopia (green-blind)
#4D4831
Tritanopia (blue-blind)
#8A0022
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7e1234;
/* rgb */ color: rgb(126, 18, 52);
/* oklch */ color: oklch(39.0% 0.141 9.5);
Tailwind
colors: {
  custom: {
    50: '#aa5e6b',
    500: '#7e1234',
    950: '#000000',
  },
}
SCSS
$custom: #7e1234;
$custom-light: #aa5e6b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1234",
  "rgb": {
    "r": 126,
    "g": 18,
    "b": 52
  },
  "hsl": {
    "h": 341.111,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.3895,
    "c": 0.14143,
    "h": 9.5
  },
  "luminance": 0.05116
}

Semantic roles & 50–950 ramp

primary
#7E1234
secondary
#38B48D
accent
#F2B736
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110506
muted
#80797A

Preview Lab

Preview with #7E1234

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

Preview Lab → · Contrast checker → · Palette generator →

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