#7F1D3D#7F1D3D

#7F1D3D is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.3% C 0.134 H 6.2°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#7F1D3D
RGBrgb(127, 29, 61)
HSLhsl(340, 63%, 31%)
HSVhsv(340, 77%, 50%)
CMYKcmyk(0%, 77.2%, 52%, 50.2%)
CIE-LABlab(28.72, 43.57, 5.52)
CIE-LCHlch(28.72, 43.91, 7.22°)
OKLaboklab(40.28% 0.133 0.0144)
OKLCHoklch(40.28% 0.134 6.2)
XYZxyz(10.0349, 5.7290, 4.9914)
Luminance0.0573 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1D3D #1D7F5F
analogous
#7F1D6E #7F1D3D #7F2E1D
triadic
#7F1D3D #3D7F1D #1D3D7F
tetradic
#7F1D3D #6E7F1D #1D7F5F #2E1D7F
square
#7F1D3D #6E7F1D #1D7F5F #2E1D7F
split-complementary
#7F1D3D #1D7F2E #1D6E7F
monochromatic
#1B060D #4D1225 #7F1D3D #B12855 #D44272

Accessibility & contrast

On white

9.79
#7F1D3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1D3D
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1D3D#FFFFFF#000000##FFFFFF
##7F1D3D1.009.792.159.79
#FFFFFF9.791.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35373E
Deuteranopia (green-blind)
#4F4B3B
Tritanopia (blue-blind)
#8B062B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7f1d3d;
/* rgb */ color: rgb(127, 29, 61);
/* oklch */ color: oklch(40.3% 0.134 6.2);
Tailwind
colors: {
  custom: {
    50: '#a96272',
    500: '#7f1d3d',
    950: '#000000',
  },
}
SCSS
$custom: #7f1d3d;
$custom-light: #a96272;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1d3d",
  "rgb": {
    "r": 127,
    "g": 29,
    "b": 61
  },
  "hsl": {
    "h": 340.408,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40282,
    "c": 0.13377,
    "h": 6.2
  },
  "luminance": 0.05728
}

Semantic roles & 50–950 ramp

primary
#7F1D3D
secondary
#45B28F
accent
#E6B042
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#110607
muted
#807A7A

Preview Lab

Preview with #7F1D3D

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

Preview Lab → · Contrast checker → · Palette generator →

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