#7E1265#7E1265

#7E1265 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.9% C 0.163 H 340.0°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#7E1265
RGBrgb(126, 18, 101)
HSLhsl(314, 75%, 28%)
HSVhsv(314, 86%, 49%)
CMYKcmyk(0%, 85.7%, 19.8%, 50.6%)
CIE-LABlab(28.93, 51.27, -20.63)
CIE-LCHlch(28.93, 55.26, 338.08°)
OKLaboklab(40.91% 0.1533 -0.0558)
OKLCHoklch(40.91% 0.163 340)
XYZxyz(11.1698, 5.8090, 12.8424)
Luminance0.0581 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1265 #127E2B
analogous
#61127E #7E1265 #7E122F
triadic
#7E1265 #657E12 #12657E
tetradic
#7E1265 #7E6112 #127E2B #122F7E
square
#7E1265 #7E6112 #127E2B #122F7E
split-complementary
#7E1265 #2F7E12 #127E61
monochromatic
#1B0415 #480A3A #7E1265 #B41A90 #E12AB6

Accessibility & contrast

On white

9.72
#7E1265 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7E1265 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1265
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1265#FFFFFF#000000##FFFFFF
##7E12651.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3967
Deuteranopia (green-blind)
#414A63
Tritanopia (blue-blind)
#86173C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e1265;
/* rgb */ color: rgb(126, 18, 101);
/* oklch */ color: oklch(40.9% 0.163 340.0);
Tailwind
colors: {
  custom: {
    50: '#a76091',
    500: '#7e1265',
    950: '#000000',
  },
}
SCSS
$custom: #7e1265;
$custom-light: #a76091;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1265",
  "rgb": {
    "r": 126,
    "g": 18,
    "b": 101
  },
  "hsl": {
    "h": 313.889,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.40906,
    "c": 0.16319,
    "h": 340
  },
  "luminance": 0.05808
}

Semantic roles & 50–950 ramp

primary
#7E1265
secondary
#38B455
accent
#F26236
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7E1265

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

Preview Lab → · Contrast checker → · Palette generator →

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