#7C1D3F#7C1D3F

#7C1D3F is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.8% C 0.131 H 3.9°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#7C1D3F
RGBrgb(124, 29, 63)
HSLhsl(339, 62%, 30%)
HSVhsv(339, 77%, 49%)
CMYKcmyk(0%, 76.6%, 49.2%, 51.4%)
CIE-LABlab(28.18, 42.83, 3.33)
CIE-LCHlch(28.18, 42.96, 4.45°)
OKLaboklab(39.79% 0.1311 0.009)
OKLCHoklch(39.79% 0.131 3.9)
XYZxyz(9.6495, 5.5240, 5.2598)
Luminance0.0552 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1D3F #1D7C5A
analogous
#7C1D6F #7C1D3F #7C2A1D
triadic
#7C1D3F #3F7C1D #1D3F7C
tetradic
#7C1D3F #6F7C1D #1D7C5A #2A1D7C
square
#7C1D3F #6F7C1D #1D7C5A #2A1D7C
split-complementary
#7C1D3F #1D7C2A #1D6F7C
monochromatic
#19060D #4A1126 #7C1D3F #AE2958 #D34175

Accessibility & contrast

On white

9.98
#7C1D3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#7C1D3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1D3F
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1D3F#FFFFFF#000000##FFFFFF
##7C1D3F1.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333740
Deuteranopia (green-blind)
#4D493D
Tritanopia (blue-blind)
#870A2B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7c1d3f;
/* rgb */ color: rgb(124, 29, 63);
/* oklch */ color: oklch(39.8% 0.131 3.9);
Tailwind
colors: {
  custom: {
    50: '#a76273',
    500: '#7c1d3f',
    950: '#000000',
  },
}
SCSS
$custom: #7c1d3f;
$custom-light: #a76273;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1d3f",
  "rgb": {
    "r": 124,
    "g": 29,
    "b": 63
  },
  "hsl": {
    "h": 338.526,
    "s": 62.092,
    "l": 30
  },
  "oklch": {
    "l": 0.39793,
    "c": 0.13138,
    "h": 3.9
  },
  "luminance": 0.05523
}

Semantic roles & 50–950 ramp

primary
#7C1D3F
secondary
#45B08A
accent
#E5AB43
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #7C1D3F

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

Preview Lab → · Contrast checker → · Palette generator →

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