#7D1A5F#7D1A5F

#7D1A5F is a dark, vivid pink. Relative luminance 0.059; OKLCH L 41.0% C 0.151 H 343.2°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#7D1A5F
RGBrgb(125, 26, 95)
HSLhsl(318, 66%, 30%)
HSVhsv(318, 79%, 49%)
CMYKcmyk(0%, 79.2%, 24%, 51%)
CIE-LABlab(29.23, 47.93, -16.27)
CIE-LCHlch(29.23, 50.62, 341.25°)
OKLaboklab(40.99% 0.1446 -0.0436)
OKLCHoklch(40.99% 0.151 343.2)
XYZxyz(10.8928, 5.9261, 11.3945)
Luminance0.0592 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1A5F #1A7D38
analogous
#6A1A7D #7D1A5F #7D1A2D
triadic
#7D1A5F #5F7D1A #1A5F7D
tetradic
#7D1A5F #7D6A1A #1A7D38 #1A2D7D
square
#7D1A5F #7D6A1A #1A7D38 #1A2D7D
split-complementary
#7D1A5F #2D7D1A #1A7D6A
monochromatic
#190513 #4A0F38 #7D1A5F #B02586 #D63BA7

Accessibility & contrast

On white

9.61
#7D1A5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1A5F
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1A5F#FFFFFF#000000##FFFFFF
##7D1A5F1.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253A61
Deuteranopia (green-blind)
#444B5D
Tritanopia (blue-blind)
#851A3A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7d1a5f;
/* rgb */ color: rgb(125, 26, 95);
/* oklch */ color: oklch(41.0% 0.151 343.2);
Tailwind
colors: {
  custom: {
    50: '#a6628c',
    500: '#7d1a5f',
    950: '#000000',
  },
}
SCSS
$custom: #7d1a5f;
$custom-light: #a6628c;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1a5f",
  "rgb": {
    "r": 125,
    "g": 26,
    "b": 95
  },
  "hsl": {
    "h": 318.182,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40992,
    "c": 0.15102,
    "h": 343.2
  },
  "luminance": 0.05925
}

Semantic roles & 50–950 ramp

primary
#7D1A5F
secondary
#42B163
accent
#E9733F
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7D1A5F

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

Preview Lab → · Contrast checker → · Palette generator →

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