#7C1836#7C1836

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

Color values

HEX#7C1836
RGBrgb(124, 24, 54)
HSLhsl(342, 68%, 29%)
HSVhsv(342, 81%, 49%)
CMYKcmyk(0%, 80.6%, 56.5%, 51.4%)
CIE-LABlab(27.31, 43.75, 8.17)
CIE-LCHlch(27.31, 44.51, 10.58°)
OKLaboklab(39.07% 0.133 0.0208)
OKLCHoklch(39.07% 0.135 8.9)
XYZxyz(9.3056, 5.2060, 4.0042)
Luminance0.0520 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1836 #187C5E
analogous
#7C1868 #7C1836 #7C2C18
triadic
#7C1836 #367C18 #18367C
tetradic
#7C1836 #687C18 #187C5E #2C187C
square
#7C1836 #687C18 #187C5E #2C187C
split-complementary
#7C1836 #187C2C #18687C
monochromatic
#1A050B #490E20 #7C1836 #AF224C #D83667

Accessibility & contrast

On white

10.29
#7C1836 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#7C1836 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1836
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1836#FFFFFF#000000##FFFFFF
##7C18361.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c1836;
/* rgb */ color: rgb(124, 24, 54);
/* oklch */ color: oklch(39.1% 0.135 8.9);
Tailwind
colors: {
  custom: {
    50: '#a8606c',
    500: '#7c1836',
    950: '#000000',
  },
}
SCSS
$custom: #7c1836;
$custom-light: #a8606c;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1836",
  "rgb": {
    "r": 124,
    "g": 24,
    "b": 54
  },
  "hsl": {
    "h": 342,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39074,
    "c": 0.13463,
    "h": 8.9
  },
  "luminance": 0.05205
}

Semantic roles & 50–950 ramp

primary
#7C1836
secondary
#3FB18F
accent
#EAB73D
background
#FAF5F6
surface
#F5EAEB
border
#CFC6C6
text
#110507
muted
#80797A

Preview Lab

Preview with #7C1836

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

Preview Lab → · Contrast checker → · Palette generator →

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