#7C173E#7C173E

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

Color values

HEX#7C173E
RGBrgb(124, 23, 62)
HSLhsl(337, 69%, 29%)
HSVhsv(337, 81%, 49%)
CMYKcmyk(0%, 81.5%, 50%, 51.4%)
CIE-LABlab(27.43, 44.76, 2.92)
CIE-LCHlch(27.43, 44.86, 3.74°)
OKLaboklab(39.23% 0.1372 0.0079)
OKLCHoklch(39.23% 0.137 3.3)
XYZxyz(9.4889, 5.2470, 5.0696)
Luminance0.0525 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C173E #177C55
analogous
#7C1771 #7C173E #7C2317
triadic
#7C173E #3E7C17 #173E7C
tetradic
#7C173E #717C17 #177C55 #23177C
square
#7C173E #717C17 #177C55 #23177C
split-complementary
#7C173E #177C23 #17717C
monochromatic
#1A050D #480D24 #7C173E #B02158 #D93474

Accessibility & contrast

On white

10.25
#7C173E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C173E
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C173E#FFFFFF#000000##FFFFFF
##7C173E1.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30343F
Deuteranopia (green-blind)
#4B483C
Tritanopia (blue-blind)
#870028
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7c173e;
/* rgb */ color: rgb(124, 23, 62);
/* oklch */ color: oklch(39.2% 0.137 3.3);
Tailwind
colors: {
  custom: {
    50: '#a76073',
    500: '#7c173e',
    950: '#000000',
  },
}
SCSS
$custom: #7c173e;
$custom-light: #a76073;
$custom-dark: #000000;
JSON
{
  "hex": "#7c173e",
  "rgb": {
    "r": 124,
    "g": 23,
    "b": 62
  },
  "hsl": {
    "h": 336.832,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39231,
    "c": 0.13745,
    "h": 3.3
  },
  "luminance": 0.05246
}

Semantic roles & 50–950 ramp

primary
#7C173E
secondary
#3EB184
accent
#ECA83C
background
#FAF5F6
surface
#F4EAEC
border
#CEC6C7
text
#100508
muted
#7F797B

Preview Lab

Preview with #7C173E

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

Preview Lab → · Contrast checker → · Palette generator →

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