#7F1B3E#7F1B3E

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

Color values

HEX#7F1B3E
RGBrgb(127, 27, 62)
HSLhsl(339, 65%, 30%)
HSVhsv(339, 79%, 50%)
CMYKcmyk(0%, 78.7%, 51.2%, 50.2%)
CIE-LABlab(28.50, 44.35, 4.54)
CIE-LCHlch(28.50, 44.58, 5.84°)
OKLaboklab(40.13% 0.1356 0.012)
OKLCHoklch(40.13% 0.136 5.1)
XYZxyz(10.0147, 5.6451, 5.1187)
Luminance0.0564 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1B3E #1B7F5C
analogous
#7F1B70 #7F1B3E #7F2A1B
triadic
#7F1B3E #3E7F1B #1B3E7F
tetradic
#7F1B3E #707F1B #1B7F5C #2A1B7F
square
#7F1B3E #707F1B #1B7F5C #2A1B7F
split-complementary
#7F1B3E #1B7F2A #1B707F
monochromatic
#1A060D #4D1025 #7F1B3E #B12657 #D63E73

Accessibility & contrast

On white

9.86
#7F1B3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1B3E
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1B3E#FFFFFF#000000##FFFFFF
##7F1B3E1.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34373F
Deuteranopia (green-blind)
#4E4A3C
Tritanopia (blue-blind)
#8B022A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7f1b3e;
/* rgb */ color: rgb(127, 27, 62);
/* oklch */ color: oklch(40.1% 0.136 5.1);
Tailwind
colors: {
  custom: {
    50: '#a96273',
    500: '#7f1b3e',
    950: '#000000',
  },
}
SCSS
$custom: #7f1b3e;
$custom-light: #a96273;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1b3e",
  "rgb": {
    "r": 127,
    "g": 27,
    "b": 62
  },
  "hsl": {
    "h": 339,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40129,
    "c": 0.13616,
    "h": 5.1
  },
  "luminance": 0.05644
}

Semantic roles & 50–950 ramp

primary
#7F1B3E
secondary
#43B38C
accent
#E8AD40
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#110608
muted
#807A7B

Preview Lab

Preview with #7F1B3E

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

Preview Lab → · Contrast checker → · Palette generator →

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