#7C1139#7C1139

#7C1139 is a dark, vivid pink. Relative luminance 0.050; OKLCH L 38.6% C 0.141 H 5.6°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#7C1139
RGBrgb(124, 17, 57)
HSLhsl(338, 76%, 28%)
HSVhsv(338, 86%, 49%)
CMYKcmyk(0%, 86.3%, 54%, 51.4%)
CIE-LABlab(26.69, 46.02, 5.25)
CIE-LCHlch(26.69, 46.31, 6.51°)
OKLaboklab(38.64% 0.1408 0.0137)
OKLCHoklch(38.64% 0.141 5.6)
XYZxyz(9.2520, 4.9827, 4.3447)
Luminance0.0498 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1139 #117C54
analogous
#7C116F #7C1139 #7C1E11
triadic
#7C1139 #397C11 #11397C
tetradic
#7C1139 #6F7C11 #117C54 #1E117C
square
#7C1139 #6F7C11 #117C54 #1E117C
split-complementary
#7C1139 #117C1E #116F7C
monochromatic
#1B040C #460A20 #7C1139 #B21852 #E1266C

Accessibility & contrast

On white

10.52
#7C1139 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#7C1139 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1139
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1139#FFFFFF#000000##FFFFFF
##7C11391.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F323A
Deuteranopia (green-blind)
#4B4736
Tritanopia (blue-blind)
#880024
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7c1139;
/* rgb */ color: rgb(124, 17, 57);
/* oklch */ color: oklch(38.6% 0.141 5.6);
Tailwind
colors: {
  custom: {
    50: '#a85d6f',
    500: '#7c1139',
    950: '#000000',
  },
}
SCSS
$custom: #7c1139;
$custom-light: #a85d6f;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1139",
  "rgb": {
    "r": 124,
    "g": 17,
    "b": 57
  },
  "hsl": {
    "h": 337.57,
    "s": 75.887,
    "l": 27.647
  },
  "oklch": {
    "l": 0.38638,
    "c": 0.14143,
    "h": 5.6
  },
  "luminance": 0.04981
}

Semantic roles & 50–950 ramp

primary
#7C1139
secondary
#37B284
accent
#F2AC35
background
#FAF5F6
surface
#F5EAEC
border
#CFC6C7
text
#110507
muted
#80797A

Preview Lab

Preview with #7C1139

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

Preview Lab → · Contrast checker → · Palette generator →

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