#7E1753#7E1753

#7E1753 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.4% C 0.148 H 350.5°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#7E1753
RGBrgb(126, 23, 83)
HSLhsl(325, 69%, 29%)
HSVhsv(325, 82%, 49%)
CMYKcmyk(0%, 81.7%, 34.1%, 50.6%)
CIE-LABlab(28.58, 47.57, -9.37)
CIE-LCHlch(28.58, 48.48, 348.85°)
OKLaboklab(40.39% 0.1458 -0.0244)
OKLCHoklch(40.39% 0.148 350.5)
XYZxyz(10.4725, 5.6742, 8.7257)
Luminance0.0567 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1753 #177E42
analogous
#76177E #7E1753 #7E171F
triadic
#7E1753 #537E17 #17537E
tetradic
#7E1753 #7E7617 #177E42 #171F7E
square
#7E1753 #7E7617 #177E42 #171F7E
split-complementary
#7E1753 #1F7E17 #177E76
monochromatic
#1A0511 #4A0E31 #7E1753 #B22075 #DA3595

Accessibility & contrast

On white

9.84
#7E1753 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#7E1753 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1753
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1753#FFFFFF#000000##FFFFFF
##7E17531.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3855
Deuteranopia (green-blind)
#484A51
Tritanopia (blue-blind)
#880E33
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7e1753;
/* rgb */ color: rgb(126, 23, 83);
/* oklch */ color: oklch(40.4% 0.148 350.5);
Tailwind
colors: {
  custom: {
    50: '#a86183',
    500: '#7e1753',
    950: '#000000',
  },
}
SCSS
$custom: #7e1753;
$custom-light: #a86183;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1753",
  "rgb": {
    "r": 126,
    "g": 23,
    "b": 83
  },
  "hsl": {
    "h": 325.049,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40386,
    "c": 0.14781,
    "h": 350.5
  },
  "luminance": 0.05673
}

Semantic roles & 50–950 ramp

primary
#7E1753
secondary
#3EB36F
accent
#EC853C
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7E1753

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

Preview Lab → · Contrast checker → · Palette generator →

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