#7C1D5E#7C1D5E

#7C1D5E is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.0% C 0.146 H 343.6°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#7C1D5E
RGBrgb(124, 29, 94)
HSLhsl(319, 62%, 30%)
HSVhsv(319, 77%, 49%)
CMYKcmyk(0%, 76.6%, 24.2%, 51.4%)
CIE-LABlab(29.34, 46.52, -15.45)
CIE-LCHlch(29.34, 49.02, 341.62°)
OKLaboklab(41.03% 0.1403 -0.0413)
OKLCHoklch(41.03% 0.146 343.6)
XYZxyz(10.7723, 5.9731, 11.1731)
Luminance0.0597 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1D5E #1D7C3B
analogous
#6A1D7C #7C1D5E #7C1D2F
triadic
#7C1D5E #5E7C1D #1D5E7C
tetradic
#7C1D5E #7C6A1D #1D7C3B #1D2F7C
square
#7C1D5E #7C6A1D #1D7C3B #1D2F7C
split-complementary
#7C1D5E #2F7C1D #1D7C6A
monochromatic
#190613 #4A1138 #7C1D5E #AE2984 #D341A5

Accessibility & contrast

On white

9.57
#7C1D5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#7C1D5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1D5E
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1D5E#FFFFFF#000000##FFFFFF
##7C1D5E1.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273B60
Deuteranopia (green-blind)
#454B5C
Tritanopia (blue-blind)
#841D3B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7c1d5e;
/* rgb */ color: rgb(124, 29, 94);
/* oklch */ color: oklch(41.0% 0.146 343.6);
Tailwind
colors: {
  custom: {
    50: '#a5638b',
    500: '#7c1d5e',
    950: '#000000',
  },
}
SCSS
$custom: #7c1d5e;
$custom-light: #a5638b;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1d5e",
  "rgb": {
    "r": 124,
    "g": 29,
    "b": 94
  },
  "hsl": {
    "h": 318.947,
    "s": 62.092,
    "l": 30
  },
  "oklch": {
    "l": 0.41028,
    "c": 0.14627,
    "h": 343.6
  },
  "luminance": 0.05972
}

Semantic roles & 50–950 ramp

primary
#7C1D5E
secondary
#45B067
accent
#E57643
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7C1D5E

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

Preview Lab → · Contrast checker → · Palette generator →

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