#7F1E40#7F1E40

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

Color values

HEX#7F1E40
RGBrgb(127, 30, 64)
HSLhsl(339, 62%, 31%)
HSVhsv(339, 76%, 50%)
CMYKcmyk(0%, 76.4%, 49.6%, 50.2%)
CIE-LABlab(28.93, 43.48, 3.82)
CIE-LCHlch(28.93, 43.65, 5.02°)
OKLaboklab(40.47% 0.133 0.0102)
OKLCHoklch(40.47% 0.133 4.4)
XYZxyz(10.1429, 5.8121, 5.4372)
Luminance0.0581 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1E40 #1E7F5D
analogous
#7F1E70 #7F1E40 #7F2C1E
triadic
#7F1E40 #407F1E #1E407F
tetradic
#7F1E40 #707F1E #1E7F5D #2C1E7F
square
#7F1E40 #707F1E #1E7F5D #2C1E7F
split-complementary
#7F1E40 #1E7F2C #1E707F
monochromatic
#1C070E #4D1227 #7F1E40 #B12A59 #D34476

Accessibility & contrast

On white

9.71
#7F1E40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1E40
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1E40#FFFFFF#000000##FFFFFF
##7F1E401.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353841
Deuteranopia (green-blind)
#4F4B3E
Tritanopia (blue-blind)
#8B0A2C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f1e40;
/* rgb */ color: rgb(127, 30, 64);
/* oklch */ color: oklch(40.5% 0.133 4.4);
Tailwind
colors: {
  custom: {
    50: '#a96374',
    500: '#7f1e40',
    950: '#000000',
  },
}
SCSS
$custom: #7f1e40;
$custom-light: #a96374;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1e40",
  "rgb": {
    "r": 127,
    "g": 30,
    "b": 64
  },
  "hsl": {
    "h": 338.969,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40469,
    "c": 0.1334,
    "h": 4.4
  },
  "luminance": 0.05811
}

Semantic roles & 50–950 ramp

primary
#7F1E40
secondary
#47B28C
accent
#E5AC43
background
#FAF6F7
surface
#F5EBED
border
#CFC6C8
text
#110608
muted
#807A7B

Preview Lab

Preview with #7F1E40

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

Preview Lab → · Contrast checker → · Palette generator →

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