#7F1D58#7F1D58

#7F1D58 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.3% C 0.145 H 348.5°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#7F1D58
RGBrgb(127, 29, 88)
HSLhsl(324, 63%, 31%)
HSVhsv(324, 77%, 50%)
CMYKcmyk(0%, 77.2%, 30.7%, 50.2%)
CIE-LABlab(29.65, 46.53, -11.01)
CIE-LCHlch(29.65, 47.82, 346.69°)
OKLaboklab(41.28% 0.1419 -0.0289)
OKLCHoklch(41.28% 0.145 348.5)
XYZxyz(10.9538, 6.0966, 9.8305)
Luminance0.0609 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1D58 #1D7F44
analogous
#751D7F #7F1D58 #7F1D27
triadic
#7F1D58 #587F1D #1D587F
tetradic
#7F1D58 #7F751D #1D7F44 #1D277F
square
#7F1D58 #7F751D #1D7F44 #1D277F
split-complementary
#7F1D58 #277F1D #1D7F75
monochromatic
#1B0613 #4D1235 #7F1D58 #B1287B #D4429A

Accessibility & contrast

On white

9.46
#7F1D58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#7F1D58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1D58
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1D58#FFFFFF#000000##FFFFFF
##7F1D581.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3B5A
Deuteranopia (green-blind)
#494C56
Tritanopia (blue-blind)
#881838
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f1d58;
/* rgb */ color: rgb(127, 29, 88);
/* oklch */ color: oklch(41.3% 0.145 348.5);
Tailwind
colors: {
  custom: {
    50: '#a86387',
    500: '#7f1d58',
    950: '#000000',
  },
}
SCSS
$custom: #7f1d58;
$custom-light: #a86387;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1d58",
  "rgb": {
    "r": 127,
    "g": 29,
    "b": 88
  },
  "hsl": {
    "h": 323.878,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41275,
    "c": 0.14482,
    "h": 348.5
  },
  "luminance": 0.06095
}

Semantic roles & 50–950 ramp

primary
#7F1D58
secondary
#45B271
accent
#E68342
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7F1D58

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

Preview Lab → · Contrast checker → · Palette generator →

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