#7C1D5D#7C1D5D

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

Color values

HEX#7C1D5D
RGBrgb(124, 29, 93)
HSLhsl(320, 62%, 30%)
HSVhsv(320, 77%, 49%)
CMYKcmyk(0%, 76.6%, 25%, 51.4%)
CIE-LABlab(29.30, 46.38, -14.87)
CIE-LCHlch(29.30, 48.71, 342.22°)
OKLaboklab(40.98% 0.1401 -0.0397)
OKLCHoklch(40.98% 0.146 344.2)
XYZxyz(10.7278, 5.9553, 10.9383)
Luminance0.0595 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1D5D #1D7C3C
analogous
#6C1D7C #7C1D5D #7C1D2D
triadic
#7C1D5D #5D7C1D #1D5D7C
tetradic
#7C1D5D #7C6C1D #1D7C3C #1D2D7C
square
#7C1D5D #7C6C1D #1D7C3C #1D2D7C
split-complementary
#7C1D5D #2D7C1D #1D7C6C
monochromatic
#190613 #4A1138 #7C1D5D #AE2982 #D341A3

Accessibility & contrast

On white

9.59
#7C1D5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C1D5D
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1D5D#FFFFFF#000000##FFFFFF
##7C1D5D1.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283B5F
Deuteranopia (green-blind)
#454B5B
Tritanopia (blue-blind)
#841C3A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7c1d5d;
/* rgb */ color: rgb(124, 29, 93);
/* oklch */ color: oklch(41.0% 0.146 344.2);
Tailwind
colors: {
  custom: {
    50: '#a5638b',
    500: '#7c1d5d',
    950: '#000000',
  },
}
SCSS
$custom: #7c1d5d;
$custom-light: #a5638b;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1d5d",
  "rgb": {
    "r": 124,
    "g": 29,
    "b": 93
  },
  "hsl": {
    "h": 319.579,
    "s": 62.092,
    "l": 30
  },
  "oklch": {
    "l": 0.40981,
    "c": 0.14563,
    "h": 344.2
  },
  "luminance": 0.05954
}

Semantic roles & 50–950 ramp

primary
#7C1D5D
secondary
#45B068
accent
#E57843
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7C1D5D

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

Preview Lab → · Contrast checker → · Palette generator →

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