#7C1640#7C1640

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

Color values

HEX#7C1640
RGBrgb(124, 22, 64)
HSLhsl(335, 70%, 29%)
HSVhsv(335, 82%, 49%)
CMYKcmyk(0%, 82.3%, 48.4%, 51.4%)
CIE-LABlab(27.38, 45.26, 1.51)
CIE-LCHlch(27.38, 45.28, 1.91°)
OKLaboklab(39.22% 0.139 0.0044)
OKLCHoklch(39.22% 0.139 1.8)
XYZxyz(9.5253, 5.2304, 5.3575)
Luminance0.0523 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1640 #167C52
analogous
#7C1673 #7C1640 #7C1F16
triadic
#7C1640 #407C16 #16407C
tetradic
#7C1640 #737C16 #167C52 #1F167C
square
#7C1640 #737C16 #167C52 #1F167C
split-complementary
#7C1640 #167C1F #16737C
monochromatic
#1A050D #480D25 #7C1640 #B01F5B #DB3277

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C1640#FFFFFF#000000##FFFFFF
##7C16401.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)
#2F3441
Deuteranopia (green-blind)
#4A483E
Tritanopia (blue-blind)
#870029
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7c1640;
/* rgb */ color: rgb(124, 22, 64);
/* oklch */ color: oklch(39.2% 0.139 1.8);
Tailwind
colors: {
  custom: {
    50: '#a75f74',
    500: '#7c1640',
    950: '#000000',
  },
}
SCSS
$custom: #7c1640;
$custom-light: #a75f74;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1640",
  "rgb": {
    "r": 124,
    "g": 22,
    "b": 64
  },
  "hsl": {
    "h": 335.294,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39217,
    "c": 0.13902,
    "h": 1.8
  },
  "luminance": 0.05229
}

Semantic roles & 50–950 ramp

primary
#7C1640
secondary
#3DB181
accent
#EDA43B
background
#FAF5F7
surface
#F4EAED
border
#CEC6C8
text
#100508
muted
#7F797B

Preview Lab

Preview with #7C1640

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

Preview Lab → · Contrast checker → · Palette generator →

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