#7F1E4E#7F1E4E

#7F1E4E is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.0% C 0.139 H 355.0°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#7F1E4E
RGBrgb(127, 30, 78)
HSLhsl(330, 62%, 31%)
HSVhsv(330, 76%, 50%)
CMYKcmyk(0%, 76.4%, 38.6%, 50.2%)
CIE-LABlab(29.39, 44.96, -4.82)
CIE-LCHlch(29.39, 45.22, 353.88°)
OKLaboklab(40.96% 0.138 -0.0121)
OKLCHoklch(40.96% 0.139 355)
XYZxyz(10.5925, 5.9919, 7.8050)
Luminance0.0599 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1E4E #1E7F4F
analogous
#7F1E7E #7F1E4E #7F1E1E
triadic
#7F1E4E #4E7F1E #1E4E7F
tetradic
#7F1E4E #7E7F1E #1E7F4F #1E1E7F
square
#7F1E4E #7E7F1E #1E7F4F #1E1E7F
split-complementary
#7F1E4E #1E7F1E #1E7E7F
monochromatic
#1C0711 #4D1230 #7F1E4E #B12A6C #D3448B

Accessibility & contrast

On white

9.55
#7F1E4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7F1E4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1E4E
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1E4E#FFFFFF#000000##FFFFFF
##7F1E4E1.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313A4F
Deuteranopia (green-blind)
#4C4C4C
Tritanopia (blue-blind)
#891333
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7f1e4e;
/* rgb */ color: rgb(127, 30, 78);
/* oklch */ color: oklch(41.0% 0.139 355.0);
Tailwind
colors: {
  custom: {
    50: '#a8637f',
    500: '#7f1e4e',
    950: '#000000',
  },
}
SCSS
$custom: #7f1e4e;
$custom-light: #a8637f;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1e4e",
  "rgb": {
    "r": 127,
    "g": 30,
    "b": 78
  },
  "hsl": {
    "h": 330.309,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40956,
    "c": 0.1385,
    "h": 355
  },
  "luminance": 0.05991
}

Semantic roles & 50–950 ramp

primary
#7F1E4E
secondary
#47B27D
accent
#E59543
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7F1E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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