#7D1F4B#7D1F4B

#7D1F4B is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.6% C 0.134 H 356.4°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#7D1F4B
RGBrgb(125, 31, 75)
HSLhsl(332, 60%, 31%)
HSVhsv(332, 75%, 49%)
CMYKcmyk(0%, 75.2%, 40%, 51%)
CIE-LABlab(29.03, 43.66, -3.41)
CIE-LCHlch(29.03, 43.79, 355.53°)
OKLaboklab(40.58% 0.134 -0.0084)
OKLCHoklch(40.58% 0.134 356.4)
XYZxyz(10.2181, 5.8492, 7.2462)
Luminance0.0585 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1F4B #1F7D51
analogous
#7D1F7A #7D1F4B #7D221F
triadic
#7D1F4B #4B7D1F #1F4B7D
tetradic
#7D1F4B #7A7D1F #1F7D51 #221F7D
square
#7D1F4B #7A7D1F #1F7D51 #221F7D
split-complementary
#7D1F4B #1F7D22 #1F7A7D
monochromatic
#1B0710 #4C132E #7D1F4B #AE2B68 #D14587

Accessibility & contrast

On white

9.68
#7D1F4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1F4B
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1F4B#FFFFFF#000000##FFFFFF
##7D1F4B1.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31394C
Deuteranopia (green-blind)
#4B4B49
Tritanopia (blue-blind)
#871432
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7d1f4b;
/* rgb */ color: rgb(125, 31, 75);
/* oklch */ color: oklch(40.6% 0.134 356.4);
Tailwind
colors: {
  custom: {
    50: '#a7637d',
    500: '#7d1f4b',
    950: '#000000',
  },
}
SCSS
$custom: #7d1f4b;
$custom-light: #a7637d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1f4b",
  "rgb": {
    "r": 125,
    "g": 31,
    "b": 75
  },
  "hsl": {
    "h": 331.915,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40583,
    "c": 0.13422,
    "h": 356.4
  },
  "luminance": 0.05848
}

Semantic roles & 50–950 ramp

primary
#7D1F4B
secondary
#48B07F
accent
#E39944
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7D1F4B

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

Preview Lab → · Contrast checker → · Palette generator →

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