#7E1250#7E1250

#7E1250 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.9% C 0.151 H 351.8°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#7E1250
RGBrgb(126, 18, 80)
HSLhsl(326, 75%, 28%)
HSVhsv(326, 86%, 49%)
CMYKcmyk(0%, 85.7%, 36.5%, 50.6%)
CIE-LABlab(27.98, 48.59, -8.29)
CIE-LCHlch(27.98, 49.29, 350.32°)
OKLaboklab(39.91% 0.1493 -0.0214)
OKLCHoklch(39.91% 0.151 351.8)
XYZxyz(10.2691, 5.4487, 8.0988)
Luminance0.0545 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1250 #127E40
analogous
#76127E #7E1250 #7E121A
triadic
#7E1250 #507E12 #12507E
tetradic
#7E1250 #7E7612 #127E40 #121A7E
square
#7E1250 #7E7612 #127E40 #121A7E
split-complementary
#7E1250 #1A7E12 #127E76
monochromatic
#1B0411 #480A2E #7E1250 #B41A72 #E12A93

Accessibility & contrast

On white

10.05
#7E1250 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#7E1250 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1250
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1250#FFFFFF#000000##FFFFFF
##7E12501.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293651
Deuteranopia (green-blind)
#47494E
Tritanopia (blue-blind)
#880430
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7e1250;
/* rgb */ color: rgb(126, 18, 80);
/* oklch */ color: oklch(39.9% 0.151 351.8);
Tailwind
colors: {
  custom: {
    50: '#a85f81',
    500: '#7e1250',
    950: '#000000',
  },
}
SCSS
$custom: #7e1250;
$custom-light: #a85f81;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1250",
  "rgb": {
    "r": 126,
    "g": 18,
    "b": 80
  },
  "hsl": {
    "h": 325.556,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39912,
    "c": 0.15085,
    "h": 351.8
  },
  "luminance": 0.05447
}

Semantic roles & 50–950 ramp

primary
#7E1250
secondary
#38B46D
accent
#F28636
background
#FAF5F7
surface
#F4EAEE
border
#CEC6C9
text
#10050A
muted
#7F797C

Preview Lab

Preview with #7E1250

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

Preview Lab → · Contrast checker → · Palette generator →

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