#7F163B#7F163B

#7F163B is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.6% C 0.140 H 6.0°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#7F163B
RGBrgb(127, 22, 59)
HSLhsl(339, 70%, 29%)
HSVhsv(339, 83%, 50%)
CMYKcmyk(0%, 82.7%, 53.5%, 50.2%)
CIE-LABlab(27.85, 45.67, 5.64)
CIE-LCHlch(27.85, 46.02, 7.04°)
OKLaboklab(39.63% 0.1396 0.0147)
OKLCHoklch(39.63% 0.14 6)
XYZxyz(9.8296, 5.4030, 4.6621)
Luminance0.0540 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F163B #167F5A
analogous
#7F1670 #7F163B #7F2616
triadic
#7F163B #3B7F16 #163B7F
tetradic
#7F163B #707F16 #167F5A #26167F
square
#7F163B #707F16 #167F5A #26167F
split-complementary
#7F163B #167F26 #16707F
monochromatic
#1A050C #4B0D23 #7F163B #B31F53 #DC346F

Accessibility & contrast

On white

10.09
#7F163B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F163B
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F163B#FFFFFF#000000##FFFFFF
##7F163B1.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32343C
Deuteranopia (green-blind)
#4D4938
Tritanopia (blue-blind)
#8B0027
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7f163b;
/* rgb */ color: rgb(127, 22, 59);
/* oklch */ color: oklch(39.6% 0.140 6.0);
Tailwind
colors: {
  custom: {
    50: '#aa6070',
    500: '#7f163b',
    950: '#000000',
  },
}
SCSS
$custom: #7f163b;
$custom-light: #aa6070;
$custom-dark: #000000;
JSON
{
  "hex": "#7f163b",
  "rgb": {
    "r": 127,
    "g": 22,
    "b": 59
  },
  "hsl": {
    "h": 338.857,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39627,
    "c": 0.14033,
    "h": 6
  },
  "luminance": 0.05402
}

Semantic roles & 50–950 ramp

primary
#7F163B
secondary
#3DB48A
accent
#EDAE3B
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#110507
muted
#807A7A

Preview Lab

Preview with #7F163B

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

Preview Lab → · Contrast checker → · Palette generator →

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