#7D1F47#7D1F47

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

Color values

HEX#7D1F47
RGBrgb(125, 31, 71)
HSLhsl(334, 60%, 31%)
HSVhsv(334, 75%, 49%)
CMYKcmyk(0%, 75.2%, 43.2%, 51%)
CIE-LABlab(28.89, 43.21, -0.96)
CIE-LCHlch(28.89, 43.22, 358.73°)
OKLaboklab(40.44% 0.1326 -0.002)
OKLCHoklch(40.44% 0.133 359.1)
XYZxyz(10.0855, 5.7962, 6.5477)
Luminance0.0580 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1F47 #1F7D55
analogous
#7D1F76 #7D1F47 #7D261F
triadic
#7D1F47 #477D1F #1F477D
tetradic
#7D1F47 #767D1F #1F7D55 #261F7D
square
#7D1F47 #767D1F #1F7D55 #261F7D
split-complementary
#7D1F47 #1F7D26 #1F767D
monochromatic
#1B070F #4C132B #7D1F47 #AE2B63 #D14581

Accessibility & contrast

On white

9.73
#7D1F47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1F47
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1F47#FFFFFF#000000##FFFFFF
##7D1F471.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333948
Deuteranopia (green-blind)
#4C4B45
Tritanopia (blue-blind)
#881230
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7d1f47;
/* rgb */ color: rgb(125, 31, 71);
/* oklch */ color: oklch(40.4% 0.133 359.1);
Tailwind
colors: {
  custom: {
    50: '#a7637a',
    500: '#7d1f47',
    950: '#000000',
  },
}
SCSS
$custom: #7d1f47;
$custom-light: #a7637a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1f47",
  "rgb": {
    "r": 125,
    "g": 31,
    "b": 71
  },
  "hsl": {
    "h": 334.468,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40438,
    "c": 0.13259,
    "h": 359.1
  },
  "luminance": 0.05795
}

Semantic roles & 50–950 ramp

primary
#7D1F47
secondary
#48B084
accent
#E3A044
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7D1F47

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

Preview Lab → · Contrast checker → · Palette generator →

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