#7D1F5B#7D1F5B

#7D1F5B is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.2% C 0.143 H 346.0°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#7D1F5B
RGBrgb(125, 31, 91)
HSLhsl(322, 60%, 31%)
HSVhsv(322, 75%, 49%)
CMYKcmyk(0%, 75.2%, 27.2%, 51%)
CIE-LABlab(29.65, 45.66, -13.01)
CIE-LCHlch(29.65, 47.48, 344.10°)
OKLaboklab(41.25% 0.1385 -0.0345)
OKLCHoklch(41.25% 0.143 346)
XYZxyz(10.8362, 6.0964, 10.5016)
Luminance0.0609 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1F5B #1F7D41
analogous
#701F7D #7D1F5B #7D1F2C
triadic
#7D1F5B #5B7D1F #1F5B7D
tetradic
#7D1F5B #7D701F #1F7D41 #1F2C7D
square
#7D1F5B #7D701F #1F7D41 #1F2C7D
split-complementary
#7D1F5B #2C7D1F #1F7D70
monochromatic
#1B0714 #4C1337 #7D1F5B #AE2B7F #D1459E

Accessibility & contrast

On white

9.46
#7D1F5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#7D1F5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1F5B
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1F5B#FFFFFF#000000##FFFFFF
##7D1F5B1.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3C5D
Deuteranopia (green-blind)
#474C59
Tritanopia (blue-blind)
#861D3A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7d1f5b;
/* rgb */ color: rgb(125, 31, 91);
/* oklch */ color: oklch(41.2% 0.143 346.0);
Tailwind
colors: {
  custom: {
    50: '#a66489',
    500: '#7d1f5b',
    950: '#000000',
  },
}
SCSS
$custom: #7d1f5b;
$custom-light: #a66489;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1f5b",
  "rgb": {
    "r": 125,
    "g": 31,
    "b": 91
  },
  "hsl": {
    "h": 321.702,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41246,
    "c": 0.14269,
    "h": 346
  },
  "luminance": 0.06095
}

Semantic roles & 50–950 ramp

primary
#7D1F5B
secondary
#48B06D
accent
#E37E44
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7D1F5B

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

Preview Lab → · Contrast checker → · Palette generator →

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