#7D163B#7D163B

#7D163B is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.2% C 0.139 H 5.4°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#7D163B
RGBrgb(125, 22, 59)
HSLhsl(338, 70%, 29%)
HSVhsv(338, 82%, 49%)
CMYKcmyk(0%, 82.4%, 52.8%, 51%)
CIE-LABlab(27.44, 45.09, 4.99)
CIE-LCHlch(27.44, 45.37, 6.32°)
OKLaboklab(39.25% 0.1379 0.0131)
OKLCHoklch(39.25% 0.139 5.4)
XYZxyz(9.5346, 5.2509, 4.6483)
Luminance0.0525 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D163B #167D58
analogous
#7D166F #7D163B #7D2516
triadic
#7D163B #3B7D16 #163B7D
tetradic
#7D163B #6F7D16 #167D58 #25167D
square
#7D163B #6F7D16 #167D58 #25167D
split-complementary
#7D163B #167D25 #166F7D
monochromatic
#1A050C #490D22 #7D163B #B11F54 #DB326F

Accessibility & contrast

On white

10.24
#7D163B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#7D163B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D163B
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D163B#FFFFFF#000000##FFFFFF
##7D163B1.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31343C
Deuteranopia (green-blind)
#4C4839
Tritanopia (blue-blind)
#890026
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7d163b;
/* rgb */ color: rgb(125, 22, 59);
/* oklch */ color: oklch(39.2% 0.139 5.4);
Tailwind
colors: {
  custom: {
    50: '#a85f70',
    500: '#7d163b',
    950: '#000000',
  },
}
SCSS
$custom: #7d163b;
$custom-light: #a85f70;
$custom-dark: #000000;
JSON
{
  "hex": "#7d163b",
  "rgb": {
    "r": 125,
    "g": 22,
    "b": 59
  },
  "hsl": {
    "h": 338.447,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39247,
    "c": 0.13851,
    "h": 5.4
  },
  "luminance": 0.0525
}

Semantic roles & 50–950 ramp

primary
#7D163B
secondary
#3DB288
accent
#EDAD3B
background
#FAF5F6
surface
#F5EAEC
border
#CFC6C7
text
#110507
muted
#80797A

Preview Lab

Preview with #7D163B

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

Preview Lab → · Contrast checker → · Palette generator →

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