#7D1F49#7D1F49

#7D1F49 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.5% C 0.133 H 357.8°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#7D1F49
RGBrgb(125, 31, 73)
HSLhsl(333, 60%, 31%)
HSVhsv(333, 75%, 49%)
CMYKcmyk(0%, 75.2%, 41.6%, 51%)
CIE-LABlab(28.96, 43.43, -2.19)
CIE-LCHlch(28.96, 43.49, 357.12°)
OKLaboklab(40.51% 0.1333 -0.0052)
OKLCHoklch(40.51% 0.133 357.8)
XYZxyz(10.1507, 5.8222, 6.8913)
Luminance0.0582 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1F49 #1F7D53
analogous
#7D1F78 #7D1F49 #7D241F
triadic
#7D1F49 #497D1F #1F497D
tetradic
#7D1F49 #787D1F #1F7D53 #241F7D
square
#7D1F49 #787D1F #1F7D53 #241F7D
split-complementary
#7D1F49 #1F7D24 #1F787D
monochromatic
#1B0710 #4C132C #7D1F49 #AE2B66 #D14584

Accessibility & contrast

On white

9.70
#7D1F49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7D1F49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1F49
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1F49#FFFFFF#000000##FFFFFF
##7D1F491.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32394A
Deuteranopia (green-blind)
#4C4B47
Tritanopia (blue-blind)
#881331
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7d1f49;
/* rgb */ color: rgb(125, 31, 73);
/* oklch */ color: oklch(40.5% 0.133 357.8);
Tailwind
colors: {
  custom: {
    50: '#a7637b',
    500: '#7d1f49',
    950: '#000000',
  },
}
SCSS
$custom: #7d1f49;
$custom-light: #a7637b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1f49",
  "rgb": {
    "r": 125,
    "g": 31,
    "b": 73
  },
  "hsl": {
    "h": 333.191,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40509,
    "c": 0.13338,
    "h": 357.8
  },
  "luminance": 0.05821
}

Semantic roles & 50–950 ramp

primary
#7D1F49
secondary
#48B081
accent
#E39C44
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7D1F49

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

Preview Lab → · Contrast checker → · Palette generator →

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