#7F1E41#7F1E41

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

Color values

HEX#7F1E41
RGBrgb(127, 30, 65)
HSLhsl(338, 62%, 31%)
HSVhsv(338, 76%, 50%)
CMYKcmyk(0%, 76.4%, 48.8%, 50.2%)
CIE-LABlab(28.96, 43.58, 3.20)
CIE-LCHlch(28.96, 43.70, 4.20°)
OKLaboklab(40.5% 0.1334 0.0086)
OKLCHoklch(40.5% 0.134 3.7)
XYZxyz(10.1716, 5.8236, 5.5884)
Luminance0.0582 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1E41 #1E7F5C
analogous
#7F1E71 #7F1E41 #7F2C1E
triadic
#7F1E41 #417F1E #1E417F
tetradic
#7F1E41 #717F1E #1E7F5C #2C1E7F
square
#7F1E41 #717F1E #1E7F5C #2C1E7F
split-complementary
#7F1E41 #1E7F2C #1E717F
monochromatic
#1C070E #4D1228 #7F1E41 #B12A5A #D34478

Accessibility & contrast

On white

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

On black

2.16
#7F1E41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7F1E41#FFFFFF#000000##FFFFFF
##7F1E411.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353842
Deuteranopia (green-blind)
#4E4B3F
Tritanopia (blue-blind)
#8A0B2D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f1e41;
/* rgb */ color: rgb(127, 30, 65);
/* oklch */ color: oklch(40.5% 0.134 3.7);
Tailwind
colors: {
  custom: {
    50: '#a96375',
    500: '#7f1e41',
    950: '#000000',
  },
}
SCSS
$custom: #7f1e41;
$custom-light: #a96375;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1e41",
  "rgb": {
    "r": 127,
    "g": 30,
    "b": 65
  },
  "hsl": {
    "h": 338.351,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.405,
    "c": 0.13368,
    "h": 3.7
  },
  "luminance": 0.05822
}

Semantic roles & 50–950 ramp

primary
#7F1E41
secondary
#47B28B
accent
#E5AA43
background
#FAF6F7
surface
#F5EBED
border
#CFC6C8
text
#110608
muted
#807A7B

Preview Lab

Preview with #7F1E41

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

Preview Lab → · Contrast checker → · Palette generator →

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