#7C1638#7C1638

#7C1638 is a dark, vivid pink. Relative luminance 0.051; OKLCH L 39.0% C 0.137 H 7.1°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#7C1638
RGBrgb(124, 22, 56)
HSLhsl(340, 70%, 29%)
HSVhsv(340, 82%, 49%)
CMYKcmyk(0%, 82.3%, 54.8%, 51.4%)
CIE-LABlab(27.15, 44.54, 6.58)
CIE-LCHlch(27.15, 45.02, 8.41°)
OKLaboklab(38.97% 0.1359 0.017)
OKLCHoklch(38.97% 0.137 7.1)
XYZxyz(9.3138, 5.1458, 4.2434)
Luminance0.0514 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1638 #167C5A
analogous
#7C166B #7C1638 #7C2716
triadic
#7C1638 #387C16 #16387C
tetradic
#7C1638 #6B7C16 #167C5A #27167C
square
#7C1638 #6B7C16 #167C5A #27167C
split-complementary
#7C1638 #167C27 #166B7C
monochromatic
#1A050C #480D21 #7C1638 #B01F4F #DB326A

Accessibility & contrast

On white

10.35
#7C1638 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#7C1638 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1638
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1638#FFFFFF#000000##FFFFFF
##7C16381.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313339
Deuteranopia (green-blind)
#4C4736
Tritanopia (blue-blind)
#880025
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7c1638;
/* rgb */ color: rgb(124, 22, 56);
/* oklch */ color: oklch(39.0% 0.137 7.1);
Tailwind
colors: {
  custom: {
    50: '#a85f6e',
    500: '#7c1638',
    950: '#000000',
  },
}
SCSS
$custom: #7c1638;
$custom-light: #a85f6e;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1638",
  "rgb": {
    "r": 124,
    "g": 22,
    "b": 56
  },
  "hsl": {
    "h": 340,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38968,
    "c": 0.13691,
    "h": 7.1
  },
  "luminance": 0.05144
}

Semantic roles & 50–950 ramp

primary
#7C1638
secondary
#3DB18A
accent
#EDB13B
background
#FAF5F6
surface
#F5EAEB
border
#CFC6C6
text
#110507
muted
#80797A

Preview Lab

Preview with #7C1638

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

Preview Lab → · Contrast checker → · Palette generator →

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