#7F1B3F#7F1B3F

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

Color values

HEX#7F1B3F
RGBrgb(127, 27, 63)
HSLhsl(338, 65%, 30%)
HSVhsv(338, 79%, 50%)
CMYKcmyk(0%, 78.7%, 50.4%, 50.2%)
CIE-LABlab(28.53, 44.45, 3.91)
CIE-LCHlch(28.53, 44.62, 5.03°)
OKLaboklab(40.16% 0.136 0.0104)
OKLCHoklch(40.16% 0.136 4.4)
XYZxyz(10.0424, 5.6561, 5.2646)
Luminance0.0566 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F1B3F #1B7F5B
analogous
#7F1B71 #7F1B3F #7F291B
triadic
#7F1B3F #3F7F1B #1B3F7F
tetradic
#7F1B3F #717F1B #1B7F5B #291B7F
square
#7F1B3F #717F1B #1B7F5B #291B7F
split-complementary
#7F1B3F #1B7F29 #1B717F
monochromatic
#1A060D #4D1026 #7F1B3F #B12658 #D63E75

Accessibility & contrast

On white

9.85
#7F1B3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F1B3F
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F1B3F#FFFFFF#000000##FFFFFF
##7F1B3F1.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333740
Deuteranopia (green-blind)
#4E4A3D
Tritanopia (blue-blind)
#8B032B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7f1b3f;
/* rgb */ color: rgb(127, 27, 63);
/* oklch */ color: oklch(40.2% 0.136 4.4);
Tailwind
colors: {
  custom: {
    50: '#a96273',
    500: '#7f1b3f',
    950: '#000000',
  },
}
SCSS
$custom: #7f1b3f;
$custom-light: #a96273;
$custom-dark: #000000;
JSON
{
  "hex": "#7f1b3f",
  "rgb": {
    "r": 127,
    "g": 27,
    "b": 63
  },
  "hsl": {
    "h": 338.4,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.4016,
    "c": 0.13642,
    "h": 4.4
  },
  "luminance": 0.05655
}

Semantic roles & 50–950 ramp

primary
#7F1B3F
secondary
#43B38B
accent
#E8AB40
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110608
muted
#807A7B

Preview Lab

Preview with #7F1B3F

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

Preview Lab → · Contrast checker → · Palette generator →

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