#7B163F#7B163F

#7B163F is a dark, vivid pink. Relative luminance 0.051; OKLCH L 39.0% C 0.138 H 2.1°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#7B163F
RGBrgb(123, 22, 63)
HSLhsl(336, 70%, 28%)
HSVhsv(336, 82%, 48%)
CMYKcmyk(0%, 82.1%, 48.8%, 51.8%)
CIE-LABlab(27.14, 44.88, 1.81)
CIE-LCHlch(27.14, 44.91, 2.31°)
OKLaboklab(39% 0.1377 0.0051)
OKLCHoklch(39% 0.138 2.1)
XYZxyz(9.3533, 5.1449, 5.2022)
Luminance0.0514 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B163F #167B52
analogous
#7B1671 #7B163F #7B2016
triadic
#7B163F #3F7B16 #163F7B
tetradic
#7B163F #717B16 #167B52 #20167B
square
#7B163F #717B16 #167B52 #20167B
split-complementary
#7B163F #167B20 #16717B
monochromatic
#1A050D #470D24 #7B163F #AF1F5A #DA3176

Accessibility & contrast

On white

10.35
#7B163F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#7B163F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B163F
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B163F#FFFFFF#000000##FFFFFF
##7B163F1.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3440
Deuteranopia (green-blind)
#4A473D
Tritanopia (blue-blind)
#860028
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7b163f;
/* rgb */ color: rgb(123, 22, 63);
/* oklch */ color: oklch(39.0% 0.138 2.1);
Tailwind
colors: {
  custom: {
    50: '#a65f73',
    500: '#7b163f',
    950: '#000000',
  },
}
SCSS
$custom: #7b163f;
$custom-light: #a65f73;
$custom-dark: #000000;
JSON
{
  "hex": "#7b163f",
  "rgb": {
    "r": 123,
    "g": 22,
    "b": 63
  },
  "hsl": {
    "h": 335.644,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38995,
    "c": 0.13783,
    "h": 2.1
  },
  "luminance": 0.05144
}

Semantic roles & 50–950 ramp

primary
#7B163F
secondary
#3DB081
accent
#ECA53B
background
#FAF5F7
surface
#F4EAED
border
#CEC6C8
text
#100508
muted
#7F797B

Preview Lab

Preview with #7B163F

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

Preview Lab → · Contrast checker → · Palette generator →

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