#7D1C3F#7D1C3F

#7D1C3F is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.9% C 0.133 H 4.0°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#7D1C3F
RGBrgb(125, 28, 63)
HSLhsl(338, 63%, 30%)
HSVhsv(338, 78%, 49%)
CMYKcmyk(0%, 77.6%, 49.6%, 51%)
CIE-LABlab(28.25, 43.49, 3.46)
CIE-LCHlch(28.25, 43.63, 4.55°)
OKLaboklab(39.88% 0.1331 0.0093)
OKLCHoklch(39.88% 0.133 4)
XYZxyz(9.7707, 5.5507, 5.2585)
Luminance0.0555 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1C3F #1C7D5A
analogous
#7D1C6F #7D1C3F #7D2A1C
triadic
#7D1C3F #3F7D1C #1C3F7D
tetradic
#7D1C3F #6F7D1C #1C7D5A #2A1C7D
square
#7D1C3F #6F7D1C #1C7D5A #2A1C7D
split-complementary
#7D1C3F #1C7D2A #1C6F7D
monochromatic
#19060D #4B1126 #7D1C3F #AF2758 #D43F75

Accessibility & contrast

On white

9.95
#7D1C3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#7D1C3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1C3F
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1C3F#FFFFFF#000000##FFFFFF
##7D1C3F1.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333740
Deuteranopia (green-blind)
#4D4A3D
Tritanopia (blue-blind)
#88072B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7d1c3f;
/* rgb */ color: rgb(125, 28, 63);
/* oklch */ color: oklch(39.9% 0.133 4.0);
Tailwind
colors: {
  custom: {
    50: '#a86273',
    500: '#7d1c3f',
    950: '#000000',
  },
}
SCSS
$custom: #7d1c3f;
$custom-light: #a86273;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1c3f",
  "rgb": {
    "r": 125,
    "g": 28,
    "b": 63
  },
  "hsl": {
    "h": 338.351,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.39882,
    "c": 0.13345,
    "h": 4
  },
  "luminance": 0.05549
}

Semantic roles & 50–950 ramp

primary
#7D1C3F
secondary
#44B18A
accent
#E6AB41
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #7D1C3F

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

Preview Lab → · Contrast checker → · Palette generator →

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