#7E1263#7E1263

#7E1263 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.8% C 0.162 H 341.1°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#7E1263
RGBrgb(126, 18, 99)
HSLhsl(315, 75%, 28%)
HSVhsv(315, 86%, 49%)
CMYKcmyk(0%, 85.7%, 21.4%, 50.6%)
CIE-LABlab(28.83, 50.99, -19.48)
CIE-LCHlch(28.83, 54.58, 339.09°)
OKLaboklab(40.8% 0.1531 -0.0525)
OKLCHoklch(40.8% 0.162 341.1)
XYZxyz(11.0730, 5.7703, 12.3326)
Luminance0.0577 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1263 #127E2D
analogous
#63127E #7E1263 #7E122D
triadic
#7E1263 #637E12 #12637E
tetradic
#7E1263 #7E6312 #127E2D #122D7E
square
#7E1263 #7E6312 #127E2D #122D7E
split-complementary
#7E1263 #2D7E12 #127E63
monochromatic
#1B0415 #480A39 #7E1263 #B41A8D #E12AB3

Accessibility & contrast

On white

9.75
#7E1263 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7E1263 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1263
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1263#FFFFFF#000000##FFFFFF
##7E12631.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3965
Deuteranopia (green-blind)
#414A61
Tritanopia (blue-blind)
#86153B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e1263;
/* rgb */ color: rgb(126, 18, 99);
/* oklch */ color: oklch(40.8% 0.162 341.1);
Tailwind
colors: {
  custom: {
    50: '#a7608f',
    500: '#7e1263',
    950: '#000000',
  },
}
SCSS
$custom: #7e1263;
$custom-light: #a7608f;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1263",
  "rgb": {
    "r": 126,
    "g": 18,
    "b": 99
  },
  "hsl": {
    "h": 315,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.40802,
    "c": 0.16187,
    "h": 341.1
  },
  "luminance": 0.05769
}

Semantic roles & 50–950 ramp

primary
#7E1263
secondary
#38B457
accent
#F26536
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7E1263

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

Preview Lab → · Contrast checker → · Palette generator →

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