#7E1755#7E1755

#7E1755 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.5% C 0.149 H 349.3°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#7E1755
RGBrgb(126, 23, 85)
HSLhsl(324, 69%, 29%)
HSVhsv(324, 82%, 49%)
CMYKcmyk(0%, 81.7%, 32.5%, 50.6%)
CIE-LABlab(28.66, 47.81, -10.57)
CIE-LCHlch(28.66, 48.97, 347.53°)
OKLaboklab(40.47% 0.1463 -0.0277)
OKLCHoklch(40.47% 0.149 349.3)
XYZxyz(10.5509, 5.7055, 9.1382)
Luminance0.0570 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E1755 #177E40
analogous
#74177E #7E1755 #7E1722
triadic
#7E1755 #557E17 #17557E
tetradic
#7E1755 #7E7417 #177E40 #17227E
square
#7E1755 #7E7417 #177E40 #17227E
split-complementary
#7E1755 #227E17 #177E74
monochromatic
#1A0511 #4A0E32 #7E1755 #B22078 #DA3599

Accessibility & contrast

On white

9.81
#7E1755 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7E1755 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E1755
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E1755#FFFFFF#000000##FFFFFF
##7E17551.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293857
Deuteranopia (green-blind)
#474A53
Tritanopia (blue-blind)
#881034
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7e1755;
/* rgb */ color: rgb(126, 23, 85);
/* oklch */ color: oklch(40.5% 0.149 349.3);
Tailwind
colors: {
  custom: {
    50: '#a76185',
    500: '#7e1755',
    950: '#000000',
  },
}
SCSS
$custom: #7e1755;
$custom-light: #a76185;
$custom-dark: #000000;
JSON
{
  "hex": "#7e1755",
  "rgb": {
    "r": 126,
    "g": 23,
    "b": 85
  },
  "hsl": {
    "h": 323.883,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40472,
    "c": 0.14888,
    "h": 349.3
  },
  "luminance": 0.05704
}

Semantic roles & 50–950 ramp

primary
#7E1755
secondary
#3EB36D
accent
#EC823C
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7E1755

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

Preview Lab → · Contrast checker → · Palette generator →

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