#7F1F58#7F1F58

#7F1F58 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.5% C 0.142 H 348.7°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#7F1F58
RGBrgb(127, 31, 88)
HSLhsl(324, 61%, 31%)
HSVhsv(324, 76%, 50%)
CMYKcmyk(0%, 75.6%, 30.7%, 50.2%)
CIE-LABlab(29.91, 45.82, -10.63)
CIE-LCHlch(29.91, 47.04, 346.94°)
OKLaboklab(41.46% 0.1397 -0.0279)
OKLCHoklch(41.46% 0.142 348.7)
XYZxyz(11.0044, 6.1978, 9.8474)
Luminance0.0620 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1F58 #1F7F46
analogous
#761F7F #7F1F58 #7F1F28
triadic
#7F1F58 #587F1F #1F587F
tetradic
#7F1F58 #7F761F #1F7F46 #1F287F
square
#7F1F58 #7F761F #1F7F46 #1F287F
split-complementary
#7F1F58 #287F1F #1F7F76
monochromatic
#1D0714 #4E1336 #7F1F58 #B02B7A #D24699

Accessibility & contrast

On white

9.38
#7F1F58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#7F1F58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1F58
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1F58#FFFFFF#000000##FFFFFF
##7F1F581.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3C5A
Deuteranopia (green-blind)
#494D56
Tritanopia (blue-blind)
#881A38
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7f1f58;
/* rgb */ color: rgb(127, 31, 88);
/* oklch */ color: oklch(41.5% 0.142 348.7);
Tailwind
colors: {
  custom: {
    50: '#a86487',
    500: '#7f1f58',
    950: '#000000',
  },
}
SCSS
$custom: #7f1f58;
$custom-light: #a86487;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1f58",
  "rgb": {
    "r": 127,
    "g": 31,
    "b": 88
  },
  "hsl": {
    "h": 324.375,
    "s": 60.759,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41458,
    "c": 0.14245,
    "h": 348.7
  },
  "luminance": 0.06197
}

Semantic roles & 50–950 ramp

primary
#7F1F58
secondary
#48B273
accent
#E48544
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7F1F58

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

Preview Lab → · Contrast checker → · Palette generator →

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