#7F163A#7F163A

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

Color values

HEX#7F163A
RGBrgb(127, 22, 58)
HSLhsl(339, 70%, 29%)
HSVhsv(339, 83%, 50%)
CMYKcmyk(0%, 82.7%, 54.3%, 50.2%)
CIE-LABlab(27.83, 45.59, 6.28)
CIE-LCHlch(27.83, 46.02, 7.84°)
OKLaboklab(39.6% 0.1392 0.0162)
OKLCHoklch(39.6% 0.14 6.7)
XYZxyz(9.8039, 5.3927, 4.5268)
Luminance0.0539 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F163A #167F5B
analogous
#7F166F #7F163A #7F2716
triadic
#7F163A #3A7F16 #163A7F
tetradic
#7F163A #6F7F16 #167F5B #27167F
square
#7F163A #6F7F16 #167F5B #27167F
split-complementary
#7F163A #167F27 #166F7F
monochromatic
#1A050C #4B0D22 #7F163A #B31F52 #DC346D

Accessibility & contrast

On white

10.10
#7F163A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F163A
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F163A#FFFFFF#000000##FFFFFF
##7F163A1.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32343B
Deuteranopia (green-blind)
#4E4937
Tritanopia (blue-blind)
#8B0026
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7f163a;
/* rgb */ color: rgb(127, 22, 58);
/* oklch */ color: oklch(39.6% 0.140 6.7);
Tailwind
colors: {
  custom: {
    50: '#aa606f',
    500: '#7f163a',
    950: '#000000',
  },
}
SCSS
$custom: #7f163a;
$custom-light: #aa606f;
$custom-dark: #000000;
JSON
{
  "hex": "#7f163a",
  "rgb": {
    "r": 127,
    "g": 22,
    "b": 58
  },
  "hsl": {
    "h": 339.429,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39597,
    "c": 0.1401,
    "h": 6.7
  },
  "luminance": 0.05391
}

Semantic roles & 50–950 ramp

primary
#7F163A
secondary
#3DB48B
accent
#EDB03B
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#110507
muted
#807A7A

Preview Lab

Preview with #7F163A

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

Preview Lab → · Contrast checker → · Palette generator →

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