#7F1E58#7F1E58

#7F1E58 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.4% C 0.144 H 348.6°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#7F1E58
RGBrgb(127, 30, 88)
HSLhsl(324, 62%, 31%)
HSVhsv(324, 76%, 50%)
CMYKcmyk(0%, 76.4%, 30.7%, 50.2%)
CIE-LABlab(29.78, 46.18, -10.82)
CIE-LCHlch(29.78, 47.43, 346.82°)
OKLaboklab(41.37% 0.1408 -0.0284)
OKLCHoklch(41.37% 0.144 348.6)
XYZxyz(10.9787, 6.1464, 9.8388)
Luminance0.0614 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1E58 #1E7F45
analogous
#751E7F #7F1E58 #7F1E27
triadic
#7F1E58 #587F1E #1E587F
tetradic
#7F1E58 #7F751E #1E7F45 #1E277F
square
#7F1E58 #7F751E #1E7F45 #1E277F
split-complementary
#7F1E58 #277F1E #1E7F75
monochromatic
#1C0713 #4D1236 #7F1E58 #B12A7A #D3449A

Accessibility & contrast

On white

9.42
#7F1E58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#7F1E58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1E58
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1E58#FFFFFF#000000##FFFFFF
##7F1E581.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f1e58;
/* rgb */ color: rgb(127, 30, 88);
/* oklch */ color: oklch(41.4% 0.144 348.6);
Tailwind
colors: {
  custom: {
    50: '#a86487',
    500: '#7f1e58',
    950: '#000000',
  },
}
SCSS
$custom: #7f1e58;
$custom-light: #a86487;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1e58",
  "rgb": {
    "r": 127,
    "g": 30,
    "b": 88
  },
  "hsl": {
    "h": 324.124,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41366,
    "c": 0.14366,
    "h": 348.6
  },
  "luminance": 0.06145
}

Semantic roles & 50–950 ramp

primary
#7F1E58
secondary
#47B272
accent
#E58443
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7F1E58

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

Preview Lab → · Contrast checker → · Palette generator →

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