#7D1B4F#7D1B4F

#7D1B4F is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.4% C 0.141 H 353.1°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#7D1B4F
RGBrgb(125, 27, 79)
HSLhsl(328, 64%, 30%)
HSVhsv(328, 78%, 49%)
CMYKcmyk(0%, 78.4%, 36.8%, 51%)
CIE-LABlab(28.67, 45.55, -6.60)
CIE-LCHlch(28.67, 46.02, 351.75°)
OKLaboklab(40.37% 0.1397 -0.0169)
OKLCHoklch(40.37% 0.141 353.1)
XYZxyz(10.2613, 5.7096, 7.9573)
Luminance0.0571 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1B4F #1B7D49
analogous
#7A1B7D #7D1B4F #7D1B1E
triadic
#7D1B4F #4F7D1B #1B4F7D
tetradic
#7D1B4F #7D7A1B #1B7D49 #1B1E7D
square
#7D1B4F #7D7A1B #1B7D49 #1B1E7D
split-complementary
#7D1B4F #1E7D1B #1B7D7A
monochromatic
#190510 #4B102F #7D1B4F #AF266F #D53D8E

Accessibility & contrast

On white

9.81
#7D1B4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7D1B4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1B4F
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1B4F#FFFFFF#000000##FFFFFF
##7D1B4F1.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d1b4f;
/* rgb */ color: rgb(125, 27, 79);
/* oklch */ color: oklch(40.4% 0.141 353.1);
Tailwind
colors: {
  custom: {
    50: '#a76280',
    500: '#7d1b4f',
    950: '#000000',
  },
}
SCSS
$custom: #7d1b4f;
$custom-light: #a76280;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1b4f",
  "rgb": {
    "r": 125,
    "g": 27,
    "b": 79
  },
  "hsl": {
    "h": 328.163,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.40366,
    "c": 0.14076,
    "h": 353.1
  },
  "luminance": 0.05708
}

Semantic roles & 50–950 ramp

primary
#7D1B4F
secondary
#43B177
accent
#E78F40
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7D1B4F

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

Preview Lab → · Contrast checker → · Palette generator →

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