#7F163D#7F163D

#7F163D is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.7% C 0.141 H 4.7°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#7F163D
RGBrgb(127, 22, 61)
HSLhsl(338, 70%, 29%)
HSVhsv(338, 83%, 50%)
CMYKcmyk(0%, 82.7%, 52%, 50.2%)
CIE-LABlab(27.91, 45.84, 4.37)
CIE-LCHlch(27.91, 46.05, 5.45°)
OKLaboklab(39.69% 0.1403 0.0116)
OKLCHoklch(39.69% 0.141 4.7)
XYZxyz(9.8825, 5.4242, 4.9406)
Luminance0.0542 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F163D #167F58
analogous
#7F1672 #7F163D #7F2316
triadic
#7F163D #3D7F16 #163D7F
tetradic
#7F163D #727F16 #167F58 #23167F
square
#7F163D #727F16 #167F58 #23167F
split-complementary
#7F163D #167F23 #16727F
monochromatic
#1A050D #4B0D24 #7F163D #B31F56 #DC3472

Accessibility & contrast

On white

10.07
#7F163D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#7F163D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F163D
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F163D#FFFFFF#000000##FFFFFF
##7F163D1.0010.072.0810.07
#FFFFFF10.071.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31353E
Deuteranopia (green-blind)
#4D493B
Tritanopia (blue-blind)
#8B0027
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7f163d;
/* rgb */ color: rgb(127, 22, 61);
/* oklch */ color: oklch(39.7% 0.141 4.7);
Tailwind
colors: {
  custom: {
    50: '#aa6072',
    500: '#7f163d',
    950: '#000000',
  },
}
SCSS
$custom: #7f163d;
$custom-light: #aa6072;
$custom-dark: #000000;
JSON
{
  "hex": "#7f163d",
  "rgb": {
    "r": 127,
    "g": 22,
    "b": 61
  },
  "hsl": {
    "h": 337.714,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39687,
    "c": 0.14082,
    "h": 4.7
  },
  "luminance": 0.05423
}

Semantic roles & 50–950 ramp

primary
#7F163D
secondary
#3DB488
accent
#EDAB3B
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#110507
muted
#807A7A

Preview Lab

Preview with #7F163D

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

Preview Lab → · Contrast checker → · Palette generator →

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