#7F1758#7F1758

#7F1758 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.8% C 0.151 H 347.9°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#7F1758
RGBrgb(127, 23, 88)
HSLhsl(323, 69%, 29%)
HSVhsv(323, 82%, 50%)
CMYKcmyk(0%, 81.9%, 30.7%, 50.2%)
CIE-LABlab(28.98, 48.45, -12.03)
CIE-LCHlch(28.98, 49.92, 346.05°)
OKLaboklab(40.78% 0.1479 -0.0317)
OKLCHoklch(40.78% 0.151 347.9)
XYZxyz(10.8208, 5.8307, 9.7862)
Luminance0.0583 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1758 #177F3E
analogous
#72177F #7F1758 #7F1724
triadic
#7F1758 #587F17 #17587F
tetradic
#7F1758 #7F7217 #177F3E #17247F
square
#7F1758 #7F7217 #177F3E #17247F
split-complementary
#7F1758 #247F17 #177F72
monochromatic
#1A0512 #4B0E34 #7F1758 #B3207C #DB369D

Accessibility & contrast

On white

9.70
#7F1758 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#7F1758 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1758
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1758#FFFFFF#000000##FFFFFF
##7F17581.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28395A
Deuteranopia (green-blind)
#474B56
Tritanopia (blue-blind)
#891136
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f1758;
/* rgb */ color: rgb(127, 23, 88);
/* oklch */ color: oklch(40.8% 0.151 347.9);
Tailwind
colors: {
  custom: {
    50: '#a86187',
    500: '#7f1758',
    950: '#000000',
  },
}
SCSS
$custom: #7f1758;
$custom-light: #a86187;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1758",
  "rgb": {
    "r": 127,
    "g": 23,
    "b": 88
  },
  "hsl": {
    "h": 322.5,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40785,
    "c": 0.15127,
    "h": 347.9
  },
  "luminance": 0.05829
}

Semantic roles & 50–950 ramp

primary
#7F1758
secondary
#3EB46A
accent
#EC7E3C
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7F1758

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

Preview Lab → · Contrast checker → · Palette generator →

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