#7F163C#7F163C

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

Color values

HEX#7F163C
RGBrgb(127, 22, 60)
HSLhsl(338, 70%, 29%)
HSVhsv(338, 83%, 50%)
CMYKcmyk(0%, 82.7%, 52.8%, 50.2%)
CIE-LABlab(27.88, 45.76, 5.01)
CIE-LCHlch(27.88, 46.03, 6.24°)
OKLaboklab(39.66% 0.14 0.0131)
OKLCHoklch(39.66% 0.141 5.4)
XYZxyz(9.8558, 5.4135, 4.8000)
Luminance0.0541 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F163C #167F59
analogous
#7F1671 #7F163C #7F2516
triadic
#7F163C #3C7F16 #163C7F
tetradic
#7F163C #717F16 #167F59 #25167F
square
#7F163C #717F16 #167F59 #25167F
split-complementary
#7F163C #167F25 #16717F
monochromatic
#1A050C #4B0D23 #7F163C #B31F55 #DC3470

Accessibility & contrast

On white

10.08
#7F163C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F163C
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F163C#FFFFFF#000000##FFFFFF
##7F163C1.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32353D
Deuteranopia (green-blind)
#4D493A
Tritanopia (blue-blind)
#8B0027
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7f163c;
/* rgb */ color: rgb(127, 22, 60);
/* oklch */ color: oklch(39.7% 0.141 5.4);
Tailwind
colors: {
  custom: {
    50: '#aa6071',
    500: '#7f163c',
    950: '#000000',
  },
}
SCSS
$custom: #7f163c;
$custom-light: #aa6071;
$custom-dark: #000000;
JSON
{
  "hex": "#7f163c",
  "rgb": {
    "r": 127,
    "g": 22,
    "b": 60
  },
  "hsl": {
    "h": 338.286,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39657,
    "c": 0.14056,
    "h": 5.4
  },
  "luminance": 0.05412
}

Semantic roles & 50–950 ramp

primary
#7F163C
secondary
#3DB489
accent
#EDAD3B
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#110507
muted
#807A7A

Preview Lab

Preview with #7F163C

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

Preview Lab → · Contrast checker → · Palette generator →

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