#7C183A#7C183A

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

Color values

HEX#7C183A
RGBrgb(124, 24, 58)
HSLhsl(340, 68%, 29%)
HSVhsv(340, 81%, 49%)
CMYKcmyk(0%, 80.6%, 53.2%, 51.4%)
CIE-LABlab(27.42, 44.09, 5.62)
CIE-LCHlch(27.42, 44.44, 7.26°)
OKLaboklab(39.19% 0.1346 0.0146)
OKLCHoklch(39.19% 0.135 6.2)
XYZxyz(9.4034, 5.2452, 4.5194)
Luminance0.0524 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C183A #187C5A
analogous
#7C186C #7C183A #7C2818
triadic
#7C183A #3A7C18 #183A7C
tetradic
#7C183A #6C7C18 #187C5A #28187C
square
#7C183A #6C7C18 #187C5A #28187C
split-complementary
#7C183A #187C28 #186C7C
monochromatic
#1A050C #490E22 #7C183A #AF2252 #D8366D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C183A#FFFFFF#000000##FFFFFF
##7C183A1.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)
#32343B
Deuteranopia (green-blind)
#4C4838
Tritanopia (blue-blind)
#880027
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7c183a;
/* rgb */ color: rgb(124, 24, 58);
/* oklch */ color: oklch(39.2% 0.135 6.2);
Tailwind
colors: {
  custom: {
    50: '#a7606f',
    500: '#7c183a',
    950: '#000000',
  },
}
SCSS
$custom: #7c183a;
$custom-light: #a7606f;
$custom-dark: #000000;
JSON
{
  "hex": "#7c183a",
  "rgb": {
    "r": 124,
    "g": 24,
    "b": 58
  },
  "hsl": {
    "h": 339.6,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39189,
    "c": 0.13543,
    "h": 6.2
  },
  "luminance": 0.05244
}

Semantic roles & 50–950 ramp

primary
#7C183A
secondary
#3FB18A
accent
#EAB03D
background
#FAF6F6
surface
#F4EBEC
border
#CEC6C7
text
#100507
muted
#7F7A7A

Preview Lab

Preview with #7C183A

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

Preview Lab → · Contrast checker → · Palette generator →

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