#7C173B#7C173B

#7C173B is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.1% C 0.137 H 5.3°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#7C173B
RGBrgb(124, 23, 59)
HSLhsl(339, 69%, 29%)
HSVhsv(339, 81%, 49%)
CMYKcmyk(0%, 81.5%, 52.4%, 51.4%)
CIE-LABlab(27.34, 44.49, 4.82)
CIE-LCHlch(27.34, 44.75, 6.19°)
OKLaboklab(39.14% 0.1361 0.0127)
OKLCHoklch(39.14% 0.137 5.3)
XYZxyz(9.4088, 5.2150, 4.6480)
Luminance0.0521 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C173B #177C58
analogous
#7C176E #7C173B #7C2617
triadic
#7C173B #3B7C17 #173B7C
tetradic
#7C173B #6E7C17 #177C58 #26177C
square
#7C173B #6E7C17 #177C58 #26177C
split-complementary
#7C173B #177C26 #176E7C
monochromatic
#1A050C #480D22 #7C173B #B02154 #D9346F

Accessibility & contrast

On white

10.28
#7C173B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#7C173B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C173B
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C173B#FFFFFF#000000##FFFFFF
##7C173B1.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c173b;
/* rgb */ color: rgb(124, 23, 59);
/* oklch */ color: oklch(39.1% 0.137 5.3);
Tailwind
colors: {
  custom: {
    50: '#a76070',
    500: '#7c173b',
    950: '#000000',
  },
}
SCSS
$custom: #7c173b;
$custom-light: #a76070;
$custom-dark: #000000;
JSON
{
  "hex": "#7c173b",
  "rgb": {
    "r": 124,
    "g": 23,
    "b": 59
  },
  "hsl": {
    "h": 338.614,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39137,
    "c": 0.13665,
    "h": 5.3
  },
  "luminance": 0.05214
}

Semantic roles & 50–950 ramp

primary
#7C173B
secondary
#3EB188
accent
#ECAD3C
background
#FAF5F6
surface
#F4EAEC
border
#CEC6C7
text
#100507
muted
#7F797A

Preview Lab

Preview with #7C173B

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

Preview Lab → · Contrast checker → · Palette generator →

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