#7B163E#7B163E

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

Color values

HEX#7B163E
RGBrgb(123, 22, 62)
HSLhsl(336, 70%, 28%)
HSVhsv(336, 82%, 48%)
CMYKcmyk(0%, 82.1%, 49.6%, 51.8%)
CIE-LABlab(27.11, 44.78, 2.44)
CIE-LCHlch(27.11, 44.85, 3.12°)
OKLaboklab(38.96% 0.1374 0.0067)
OKLCHoklch(38.96% 0.138 2.8)
XYZxyz(9.3256, 5.1339, 5.0564)
Luminance0.0513 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B163E #167B53
analogous
#7B1670 #7B163E #7B2116
triadic
#7B163E #3E7B16 #163E7B
tetradic
#7B163E #707B16 #167B53 #21167B
square
#7B163E #707B16 #167B53 #21167B
split-complementary
#7B163E #167B21 #16707B
monochromatic
#1A050D #470D24 #7B163E #AF1F58 #DA3174

Accessibility & contrast

On white

10.36
#7B163E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B163E
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B163E#FFFFFF#000000##FFFFFF
##7B163E1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b163e;
/* rgb */ color: rgb(123, 22, 62);
/* oklch */ color: oklch(39.0% 0.138 2.8);
Tailwind
colors: {
  custom: {
    50: '#a65f73',
    500: '#7b163e',
    950: '#000000',
  },
}
SCSS
$custom: #7b163e;
$custom-light: #a65f73;
$custom-dark: #000000;
JSON
{
  "hex": "#7b163e",
  "rgb": {
    "r": 123,
    "g": 22,
    "b": 62
  },
  "hsl": {
    "h": 336.238,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38963,
    "c": 0.13752,
    "h": 2.8
  },
  "luminance": 0.05133
}

Semantic roles & 50–950 ramp

primary
#7B163E
secondary
#3DB082
accent
#ECA63B
background
#FAF5F6
surface
#F4EAEC
border
#CEC6C7
text
#100508
muted
#7F797B

Preview Lab

Preview with #7B163E

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

Preview Lab → · Contrast checker → · Palette generator →

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