#7F1D41#7F1D41

#7F1D41 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.4% C 0.135 H 3.5°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#7F1D41
RGBrgb(127, 29, 65)
HSLhsl(338, 63%, 31%)
HSVhsv(338, 77%, 50%)
CMYKcmyk(0%, 77.2%, 48.8%, 50.2%)
CIE-LABlab(28.83, 43.94, 3.01)
CIE-LCHlch(28.83, 44.04, 3.92°)
OKLaboklab(40.41% 0.1346 0.0082)
OKLCHoklch(40.41% 0.135 3.5)
XYZxyz(10.1467, 5.7738, 5.5801)
Luminance0.0577 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1D41 #1D7F5B
analogous
#7F1D72 #7F1D41 #7F2A1D
triadic
#7F1D41 #417F1D #1D417F
tetradic
#7F1D41 #727F1D #1D7F5B #2A1D7F
square
#7F1D41 #727F1D #1D7F5B #2A1D7F
split-complementary
#7F1D41 #1D7F2A #1D727F
monochromatic
#1B060E #4D1227 #7F1D41 #B1285A #D44278

Accessibility & contrast

On white

9.75
#7F1D41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7F1D41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1D41
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1D41#FFFFFF#000000##FFFFFF
##7F1D411.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f1d41;
/* rgb */ color: rgb(127, 29, 65);
/* oklch */ color: oklch(40.4% 0.135 3.5);
Tailwind
colors: {
  custom: {
    50: '#a96375',
    500: '#7f1d41',
    950: '#000000',
  },
}
SCSS
$custom: #7f1d41;
$custom-light: #a96375;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1d41",
  "rgb": {
    "r": 127,
    "g": 29,
    "b": 65
  },
  "hsl": {
    "h": 337.959,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40405,
    "c": 0.1348,
    "h": 3.5
  },
  "luminance": 0.05772
}

Semantic roles & 50–950 ramp

primary
#7F1D41
secondary
#45B28A
accent
#E6AA42
background
#FAF6F7
surface
#F5EBED
border
#CFC6C8
text
#110608
muted
#807A7B

Preview Lab

Preview with #7F1D41

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

Preview Lab → · Contrast checker → · Palette generator →

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