#7F1C3D#7F1C3D

#7F1C3D is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.2% C 0.135 H 6.0°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#7F1C3D
RGBrgb(127, 28, 61)
HSLhsl(340, 64%, 30%)
HSVhsv(340, 78%, 50%)
CMYKcmyk(0%, 78%, 52%, 50.2%)
CIE-LABlab(28.59, 43.92, 5.34)
CIE-LCHlch(28.59, 44.24, 6.94°)
OKLaboklab(40.19% 0.1341 0.014)
OKLCHoklch(40.19% 0.135 6)
XYZxyz(10.0108, 5.6808, 4.9833)
Luminance0.0568 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1C3D #1C7F5E
analogous
#7F1C6E #7F1C3D #7F2C1C
triadic
#7F1C3D #3D7F1C #1C3D7F
tetradic
#7F1C3D #6E7F1C #1C7F5E #2C1C7F
square
#7F1C3D #6E7F1C #1C7F5E #2C1C7F
split-complementary
#7F1C3D #1C7F2C #1C6E7F
monochromatic
#1B060D #4D1125 #7F1C3D #B12755 #D54072

Accessibility & contrast

On white

9.83
#7F1C3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7F1C3D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F1C3D
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1C3D#FFFFFF#000000##FFFFFF
##7F1C3D1.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f1c3d;
/* rgb */ color: rgb(127, 28, 61);
/* oklch */ color: oklch(40.2% 0.135 6.0);
Tailwind
colors: {
  custom: {
    50: '#a96272',
    500: '#7f1c3d',
    950: '#000000',
  },
}
SCSS
$custom: #7f1c3d;
$custom-light: #a96272;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1c3d",
  "rgb": {
    "r": 127,
    "g": 28,
    "b": 61
  },
  "hsl": {
    "h": 340,
    "s": 63.871,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40189,
    "c": 0.13486,
    "h": 6
  },
  "luminance": 0.05679
}

Semantic roles & 50–950 ramp

primary
#7F1C3D
secondary
#44B38E
accent
#E7B041
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#110607
muted
#807A7A

Preview Lab

Preview with #7F1C3D

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

Preview Lab → · Contrast checker → · Palette generator →

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