#7C1738#7C1738

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

Color values

HEX#7C1738
RGBrgb(124, 23, 56)
HSLhsl(340, 69%, 29%)
HSVhsv(340, 81%, 49%)
CMYKcmyk(0%, 81.5%, 54.8%, 51.4%)
CIE-LABlab(27.25, 44.23, 6.73)
CIE-LCHlch(27.25, 44.74, 8.66°)
OKLaboklab(39.05% 0.1349 0.0173)
OKLCHoklch(39.05% 0.136 7.3)
XYZxyz(9.3333, 5.1847, 4.2499)
Luminance0.0518 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1738 #177C5B
analogous
#7C176B #7C1738 #7C2917
triadic
#7C1738 #387C17 #17387C
tetradic
#7C1738 #6B7C17 #177C5B #29177C
square
#7C1738 #6B7C17 #177C5B #29177C
split-complementary
#7C1738 #177C29 #176B7C
monochromatic
#1A050C #480D21 #7C1738 #B0214F #D9346A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C1738#FFFFFF#000000##FFFFFF
##7C17381.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)
#323439
Deuteranopia (green-blind)
#4C4836
Tritanopia (blue-blind)
#880025
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7c1738;
/* rgb */ color: rgb(124, 23, 56);
/* oklch */ color: oklch(39.0% 0.136 7.3);
Tailwind
colors: {
  custom: {
    50: '#a75f6e',
    500: '#7c1738',
    950: '#000000',
  },
}
SCSS
$custom: #7c1738;
$custom-light: #a75f6e;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1738",
  "rgb": {
    "r": 124,
    "g": 23,
    "b": 56
  },
  "hsl": {
    "h": 340.396,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39048,
    "c": 0.13597,
    "h": 7.3
  },
  "luminance": 0.05183
}

Semantic roles & 50–950 ramp

primary
#7C1738
secondary
#3EB18B
accent
#ECB23C
background
#FAF5F6
surface
#F4EAEB
border
#CEC6C6
text
#110507
muted
#80797A

Preview Lab

Preview with #7C1738

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

Preview Lab → · Contrast checker → · Palette generator →

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