#7E1259#7E1259

#7E1259 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.3% C 0.156 H 346.6°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#7E1259
RGBrgb(126, 18, 89)
HSLhsl(321, 75%, 28%)
HSVhsv(321, 86%, 49%)
CMYKcmyk(0%, 85.7%, 29.4%, 50.6%)
CIE-LABlab(28.36, 49.67, -13.67)
CIE-LCHlch(28.36, 51.51, 344.62°)
OKLaboklab(40.31% 0.1515 -0.0362)
OKLCHoklch(40.31% 0.156 346.6)
XYZxyz(10.6242, 5.5907, 9.9689)
Luminance0.0559 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1259 #127E37
analogous
#6D127E #7E1259 #7E1223
triadic
#7E1259 #597E12 #12597E
tetradic
#7E1259 #7E6D12 #127E37 #12237E
square
#7E1259 #7E6D12 #127E37 #12237E
split-complementary
#7E1259 #237E12 #127E6D
monochromatic
#1B0413 #480A33 #7E1259 #B41A7F #E12AA2

Accessibility & contrast

On white

9.92
#7E1259 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#7E1259 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1259
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1259#FFFFFF#000000##FFFFFF
##7E12591.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24375B
Deuteranopia (green-blind)
#454957
Tritanopia (blue-blind)
#870D35
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e1259;
/* rgb */ color: rgb(126, 18, 89);
/* oklch */ color: oklch(40.3% 0.156 346.6);
Tailwind
colors: {
  custom: {
    50: '#a85f88',
    500: '#7e1259',
    950: '#000000',
  },
}
SCSS
$custom: #7e1259;
$custom-light: #a85f88;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1259",
  "rgb": {
    "r": 126,
    "g": 18,
    "b": 89
  },
  "hsl": {
    "h": 320.556,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.4031,
    "c": 0.15572,
    "h": 346.6
  },
  "luminance": 0.0559
}

Semantic roles & 50–950 ramp

primary
#7E1259
secondary
#38B462
accent
#F27636
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7E1259

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

Preview Lab → · Contrast checker → · Palette generator →

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