#7C1937#7C1937

#7C1937 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.2% C 0.134 H 8.4°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#7C1937
RGBrgb(124, 25, 55)
HSLhsl(342, 66%, 29%)
HSVhsv(342, 80%, 49%)
CMYKcmyk(0%, 79.8%, 55.6%, 51.4%)
CIE-LABlab(27.46, 43.51, 7.69)
CIE-LCHlch(27.46, 44.18, 10.03°)
OKLaboklab(39.19% 0.1324 0.0197)
OKLCHoklch(39.19% 0.134 8.4)
XYZxyz(9.3503, 5.2575, 4.1361)
Luminance0.0526 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1937 #197C5E
analogous
#7C1969 #7C1937 #7C2D19
triadic
#7C1937 #377C19 #19377C
tetradic
#7C1937 #697C19 #197C5E #2D197C
square
#7C1937 #697C19 #197C5E #2D197C
split-complementary
#7C1937 #197C2D #19697C
monochromatic
#19050B #490F20 #7C1937 #AF234E #D73868

Accessibility & contrast

On white

10.24
#7C1937 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C1937
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1937#FFFFFF#000000##FFFFFF
##7C19371.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333438
Deuteranopia (green-blind)
#4D4835
Tritanopia (blue-blind)
#880026
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7c1937;
/* rgb */ color: rgb(124, 25, 55);
/* oklch */ color: oklch(39.2% 0.134 8.4);
Tailwind
colors: {
  custom: {
    50: '#a7606d',
    500: '#7c1937',
    950: '#000000',
  },
}
SCSS
$custom: #7c1937;
$custom-light: #a7606d;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1937",
  "rgb": {
    "r": 124,
    "g": 25,
    "b": 55
  },
  "hsl": {
    "h": 341.818,
    "s": 66.443,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39187,
    "c": 0.13383,
    "h": 8.4
  },
  "luminance": 0.05256
}

Semantic roles & 50–950 ramp

primary
#7C1937
secondary
#40B08E
accent
#E9B63E
background
#FAF6F6
surface
#F5EBEB
border
#CFC6C6
text
#110507
muted
#807A7A

Preview Lab

Preview with #7C1937

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

Preview Lab → · Contrast checker → · Palette generator →

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