#7E1241#7E1241

#7E1241 is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.3% C 0.145 H 1.2°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#7E1241
RGBrgb(126, 18, 65)
HSLhsl(334, 75%, 28%)
HSVhsv(334, 86%, 49%)
CMYKcmyk(0%, 85.7%, 48.4%, 50.6%)
CIE-LABlab(27.44, 47.03, 0.97)
CIE-LCHlch(27.44, 47.04, 1.18°)
OKLaboklab(39.34% 0.1446 0.003)
OKLCHoklch(39.34% 0.145 1.2)
XYZxyz(9.7755, 5.2512, 5.4988)
Luminance0.0525 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1241 #127E4F
analogous
#7E1277 #7E1241 #7E1912
triadic
#7E1241 #417E12 #12417E
tetradic
#7E1241 #777E12 #127E4F #19127E
square
#7E1241 #777E12 #127E4F #19127E
split-complementary
#7E1241 #127E19 #12777E
monochromatic
#1B040E #480A25 #7E1241 #B41A5D #E12A79

Accessibility & contrast

On white

10.24
#7E1241 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#7E1241 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1241
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1241#FFFFFF#000000##FFFFFF
##7E12411.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3442
Deuteranopia (green-blind)
#4B483F
Tritanopia (blue-blind)
#890028
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7e1241;
/* rgb */ color: rgb(126, 18, 65);
/* oklch */ color: oklch(39.3% 0.145 1.2);
Tailwind
colors: {
  custom: {
    50: '#a95e75',
    500: '#7e1241',
    950: '#000000',
  },
}
SCSS
$custom: #7e1241;
$custom-light: #a95e75;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1241",
  "rgb": {
    "r": 126,
    "g": 18,
    "b": 65
  },
  "hsl": {
    "h": 333.889,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39344,
    "c": 0.1446,
    "h": 1.2
  },
  "luminance": 0.0525
}

Semantic roles & 50–950 ramp

primary
#7E1241
secondary
#38B47E
accent
#F2A036
background
#FAF5F7
surface
#F5EAED
border
#CFC6C8
text
#110508
muted
#80797B

Preview Lab

Preview with #7E1241

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

Preview Lab → · Contrast checker → · Palette generator →

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