#7C1839#7C1839

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

Color values

HEX#7C1839
RGBrgb(124, 24, 57)
HSLhsl(340, 68%, 29%)
HSVhsv(340, 81%, 49%)
CMYKcmyk(0%, 80.6%, 54%, 51.4%)
CIE-LABlab(27.39, 44.00, 6.25)
CIE-LCHlch(27.39, 44.44, 8.09°)
OKLaboklab(39.16% 0.1342 0.0162)
OKLCHoklch(39.16% 0.135 6.9)
XYZxyz(9.3782, 5.2351, 4.3867)
Luminance0.0523 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1839 #187C5B
analogous
#7C186B #7C1839 #7C2918
triadic
#7C1839 #397C18 #18397C
tetradic
#7C1839 #6B7C18 #187C5B #29187C
square
#7C1839 #6B7C18 #187C5B #29187C
split-complementary
#7C1839 #187C29 #186B7C
monochromatic
#1A050C #490E21 #7C1839 #AF2251 #D8366C

Accessibility & contrast

On white

10.26
#7C1839 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C1839
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1839#FFFFFF#000000##FFFFFF
##7C18391.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32343A
Deuteranopia (green-blind)
#4C4837
Tritanopia (blue-blind)
#880026
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7c1839;
/* rgb */ color: rgb(124, 24, 57);
/* oklch */ color: oklch(39.2% 0.135 6.9);
Tailwind
colors: {
  custom: {
    50: '#a7606f',
    500: '#7c1839',
    950: '#000000',
  },
}
SCSS
$custom: #7c1839;
$custom-light: #a7606f;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1839",
  "rgb": {
    "r": 124,
    "g": 24,
    "b": 57
  },
  "hsl": {
    "h": 340.2,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39159,
    "c": 0.13521,
    "h": 6.9
  },
  "luminance": 0.05234
}

Semantic roles & 50–950 ramp

primary
#7C1839
secondary
#3FB18B
accent
#EAB13D
background
#FAF5F6
surface
#F4EAEC
border
#CEC6C7
text
#100507
muted
#7F797A

Preview Lab

Preview with #7C1839

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

Preview Lab → · Contrast checker → · Palette generator →

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