#7E1269#7E1269

#7E1269 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 41.1% C 0.166 H 338.0°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#7E1269
RGBrgb(126, 18, 105)
HSLhsl(312, 75%, 28%)
HSVhsv(312, 86%, 49%)
CMYKcmyk(0%, 85.7%, 16.7%, 50.6%)
CIE-LABlab(29.13, 51.84, -22.89)
CIE-LCHlch(29.13, 56.67, 336.17°)
OKLaboklab(41.12% 0.1537 -0.0623)
OKLCHoklch(41.12% 0.166 338)
XYZxyz(11.3706, 5.8893, 13.8998)
Luminance0.0589 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1269 #127E27
analogous
#5D127E #7E1269 #7E1233
triadic
#7E1269 #697E12 #12697E
tetradic
#7E1269 #7E5D12 #127E27 #12337E
square
#7E1269 #7E5D12 #127E27 #12337E
split-complementary
#7E1269 #337E12 #127E5D
monochromatic
#1B0416 #480A3C #7E1269 #B41A96 #E12ABD

Accessibility & contrast

On white

9.64
#7E1269 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7E1269 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1269
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1269#FFFFFF#000000##FFFFFF
##7E12691.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183A6B
Deuteranopia (green-blind)
#3F4A67
Tritanopia (blue-blind)
#851A3E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7e1269;
/* rgb */ color: rgb(126, 18, 105);
/* oklch */ color: oklch(41.1% 0.166 338.0);
Tailwind
colors: {
  custom: {
    50: '#a76094',
    500: '#7e1269',
    950: '#000000',
  },
}
SCSS
$custom: #7e1269;
$custom-light: #a76094;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1269",
  "rgb": {
    "r": 126,
    "g": 18,
    "b": 105
  },
  "hsl": {
    "h": 311.667,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.41121,
    "c": 0.16587,
    "h": 338
  },
  "luminance": 0.05888
}

Semantic roles & 50–950 ramp

primary
#7E1269
secondary
#38B450
accent
#F25B36
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10050D
muted
#7F7A7E

Preview Lab

Preview with #7E1269

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

Preview Lab → · Contrast checker → · Palette generator →

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