#7F1B3D#7F1B3D

#7F1B3D is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.1% C 0.136 H 5.7°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#7F1B3D
RGBrgb(127, 27, 61)
HSLhsl(340, 65%, 30%)
HSVhsv(340, 79%, 50%)
CMYKcmyk(0%, 78.7%, 52%, 50.2%)
CIE-LABlab(28.47, 44.26, 5.17)
CIE-LCHlch(28.47, 44.56, 6.66°)
OKLaboklab(40.1% 0.1352 0.0136)
OKLCHoklch(40.1% 0.136 5.7)
XYZxyz(9.9875, 5.6342, 4.9756)
Luminance0.0563 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1B3D #1B7F5D
analogous
#7F1B6F #7F1B3D #7F2B1B
triadic
#7F1B3D #3D7F1B #1B3D7F
tetradic
#7F1B3D #6F7F1B #1B7F5D #2B1B7F
square
#7F1B3D #6F7F1B #1B7F5D #2B1B7F
split-complementary
#7F1B3D #1B7F2B #1B6F7F
monochromatic
#1A060D #4D1025 #7F1B3D #B12655 #D63E72

Accessibility & contrast

On white

9.87
#7F1B3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#7F1B3D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1B3D
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1B3D#FFFFFF#000000##FFFFFF
##7F1B3D1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34373E
Deuteranopia (green-blind)
#4E4A3B
Tritanopia (blue-blind)
#8B012A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7f1b3d;
/* rgb */ color: rgb(127, 27, 61);
/* oklch */ color: oklch(40.1% 0.136 5.7);
Tailwind
colors: {
  custom: {
    50: '#a96272',
    500: '#7f1b3d',
    950: '#000000',
  },
}
SCSS
$custom: #7f1b3d;
$custom-light: #a96272;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1b3d",
  "rgb": {
    "r": 127,
    "g": 27,
    "b": 61
  },
  "hsl": {
    "h": 339.6,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40099,
    "c": 0.13592,
    "h": 5.7
  },
  "luminance": 0.05633
}

Semantic roles & 50–950 ramp

primary
#7F1B3D
secondary
#43B38D
accent
#E8AF40
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#110607
muted
#807A7A

Preview Lab

Preview with #7F1B3D

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

Preview Lab → · Contrast checker → · Palette generator →

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