#7C1834#7C1834

#7C1834 is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.0% C 0.134 H 10.2°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#7C1834
RGBrgb(124, 24, 52)
HSLhsl(343, 68%, 29%)
HSVhsv(343, 81%, 49%)
CMYKcmyk(0%, 80.6%, 58.1%, 51.4%)
CIE-LABlab(27.26, 43.59, 9.45)
CIE-LCHlch(27.26, 44.60, 12.23°)
OKLaboklab(39.02% 0.1322 0.0238)
OKLCHoklch(39.02% 0.134 10.2)
XYZxyz(9.2595, 5.1876, 3.7619)
Luminance0.0519 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1834 #187C60
analogous
#7C1866 #7C1834 #7C2E18
triadic
#7C1834 #347C18 #18347C
tetradic
#7C1834 #667C18 #187C60 #2E187C
square
#7C1834 #667C18 #187C60 #2E187C
split-complementary
#7C1834 #187C2E #18667C
monochromatic
#1A050B #490E1E #7C1834 #AF224A #D83664

Accessibility & contrast

On white

10.31
#7C1834 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C1834
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1834#FFFFFF#000000##FFFFFF
##7C18341.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333334
Deuteranopia (green-blind)
#4D4831
Tritanopia (blue-blind)
#880024
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7c1834;
/* rgb */ color: rgb(124, 24, 52);
/* oklch */ color: oklch(39.0% 0.134 10.2);
Tailwind
colors: {
  custom: {
    50: '#a8606b',
    500: '#7c1834',
    950: '#000000',
  },
}
SCSS
$custom: #7c1834;
$custom-light: #a8606b;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1834",
  "rgb": {
    "r": 124,
    "g": 24,
    "b": 52
  },
  "hsl": {
    "h": 343.2,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39019,
    "c": 0.13433,
    "h": 10.2
  },
  "luminance": 0.05186
}

Semantic roles & 50–950 ramp

primary
#7C1834
secondary
#3FB191
accent
#EABA3D
background
#FAF5F6
surface
#F5EAEB
border
#CFC6C6
text
#110506
muted
#80797A

Preview Lab

Preview with #7C1834

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

Preview Lab → · Contrast checker → · Palette generator →

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