#7D1F4C#7D1F4C

#7D1F4C is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.6% C 0.135 H 355.7°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#7D1F4C
RGBrgb(125, 31, 76)
HSLhsl(331, 60%, 31%)
HSVhsv(331, 75%, 49%)
CMYKcmyk(0%, 75.2%, 39.2%, 51%)
CIE-LABlab(29.06, 43.77, -4.02)
CIE-LCHlch(29.06, 43.96, 354.75°)
OKLaboklab(40.62% 0.1343 -0.01)
OKLCHoklch(40.62% 0.135 355.7)
XYZxyz(10.2526, 5.8630, 7.4278)
Luminance0.0586 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1F4C #1F7D50
analogous
#7D1F7B #7D1F4C #7D211F
triadic
#7D1F4C #4C7D1F #1F4C7D
tetradic
#7D1F4C #7B7D1F #1F7D50 #211F7D
square
#7D1F4C #7B7D1F #1F7D50 #211F7D
split-complementary
#7D1F4C #1F7D21 #1F7B7D
monochromatic
#1B0710 #4C132E #7D1F4C #AE2B6A #D14588

Accessibility & contrast

On white

9.67
#7D1F4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#7D1F4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1F4C
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1F4C#FFFFFF#000000##FFFFFF
##7D1F4C1.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31394D
Deuteranopia (green-blind)
#4B4B4A
Tritanopia (blue-blind)
#871532
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7d1f4c;
/* rgb */ color: rgb(125, 31, 76);
/* oklch */ color: oklch(40.6% 0.135 355.7);
Tailwind
colors: {
  custom: {
    50: '#a7647e',
    500: '#7d1f4c',
    950: '#000000',
  },
}
SCSS
$custom: #7d1f4c;
$custom-light: #a7647e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1f4c",
  "rgb": {
    "r": 125,
    "g": 31,
    "b": 76
  },
  "hsl": {
    "h": 331.277,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.4062,
    "c": 0.13465,
    "h": 355.7
  },
  "luminance": 0.05862
}

Semantic roles & 50–950 ramp

primary
#7D1F4C
secondary
#48B07E
accent
#E39744
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7D1F4C

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

Preview Lab → · Contrast checker → · Palette generator →

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