#7C1E4F#7C1E4F

#7C1E4F is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.5% C 0.136 H 353.2°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#7C1E4F
RGBrgb(124, 30, 79)
HSLhsl(329, 61%, 30%)
HSVhsv(329, 76%, 49%)
CMYKcmyk(0%, 75.8%, 36.3%, 51.4%)
CIE-LABlab(28.85, 44.20, -6.35)
CIE-LCHlch(28.85, 44.66, 351.82°)
OKLaboklab(40.46% 0.1354 -0.0163)
OKLCHoklch(40.46% 0.136 353.2)
XYZxyz(10.1884, 5.7794, 7.9746)
Luminance0.0578 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1E4F #1E7C4B
analogous
#7A1E7C #7C1E4F #7C1E20
triadic
#7C1E4F #4F7C1E #1E4F7C
tetradic
#7C1E4F #7C7A1E #1E7C4B #1E207C
square
#7C1E4F #7C7A1E #1E7C4B #1E207C
split-complementary
#7C1E4F #207C1E #1E7C7A
monochromatic
#190610 #4B1230 #7C1E4F #AD2A6E #D1438D

Accessibility & contrast

On white

9.74
#7C1E4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7C1E4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1E4F
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1E4F#FFFFFF#000000##FFFFFF
##7C1E4F1.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3950
Deuteranopia (green-blind)
#494A4D
Tritanopia (blue-blind)
#861633
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7c1e4f;
/* rgb */ color: rgb(124, 30, 79);
/* oklch */ color: oklch(40.5% 0.136 353.2);
Tailwind
colors: {
  custom: {
    50: '#a66380',
    500: '#7c1e4f',
    950: '#000000',
  },
}
SCSS
$custom: #7c1e4f;
$custom-light: #a66380;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1e4f",
  "rgb": {
    "r": 124,
    "g": 30,
    "b": 79
  },
  "hsl": {
    "h": 328.723,
    "s": 61.039,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40463,
    "c": 0.13642,
    "h": 353.2
  },
  "luminance": 0.05778
}

Semantic roles & 50–950 ramp

primary
#7C1E4F
secondary
#46AF79
accent
#E49044
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7C1E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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