#7D1B3E#7D1B3E

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

Color values

HEX#7D1B3E
RGBrgb(125, 27, 62)
HSLhsl(339, 64%, 30%)
HSVhsv(339, 78%, 49%)
CMYKcmyk(0%, 78.4%, 50.4%, 51%)
CIE-LABlab(28.10, 43.75, 3.91)
CIE-LCHlch(28.10, 43.92, 5.11°)
OKLaboklab(39.76% 0.1339 0.0104)
OKLCHoklch(39.76% 0.134 4.5)
XYZxyz(9.7197, 5.4930, 5.1049)
Luminance0.0549 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1B3E #1B7D5A
analogous
#7D1B6F #7D1B3E #7D291B
triadic
#7D1B3E #3E7D1B #1B3E7D
tetradic
#7D1B3E #6F7D1B #1B7D5A #291B7D
square
#7D1B3E #6F7D1B #1B7D5A #291B7D
split-complementary
#7D1B3E #1B7D29 #1B6F7D
monochromatic
#19050C #4B1025 #7D1B3E #AF2657 #D53D74

Accessibility & contrast

On white

10.01
#7D1B3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1B3E
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1B3E#FFFFFF#000000##FFFFFF
##7D1B3E1.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33363F
Deuteranopia (green-blind)
#4D493C
Tritanopia (blue-blind)
#88042A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7d1b3e;
/* rgb */ color: rgb(125, 27, 62);
/* oklch */ color: oklch(39.8% 0.134 4.5);
Tailwind
colors: {
  custom: {
    50: '#a86173',
    500: '#7d1b3e',
    950: '#000000',
  },
}
SCSS
$custom: #7d1b3e;
$custom-light: #a86173;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1b3e",
  "rgb": {
    "r": 125,
    "g": 27,
    "b": 62
  },
  "hsl": {
    "h": 338.571,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.39759,
    "c": 0.13427,
    "h": 4.5
  },
  "luminance": 0.05492
}

Semantic roles & 50–950 ramp

primary
#7D1B3E
secondary
#43B18A
accent
#E7AC40
background
#FAF6F6
surface
#F4EBEC
border
#CEC6C7
text
#100508
muted
#7F7A7B

Preview Lab

Preview with #7D1B3E

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

Preview Lab → · Contrast checker → · Palette generator →

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