#7D1F45#7D1F45

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

Color values

HEX#7D1F45
RGBrgb(125, 31, 69)
HSLhsl(336, 60%, 31%)
HSVhsv(336, 75%, 49%)
CMYKcmyk(0%, 75.2%, 44.8%, 51%)
CIE-LABlab(28.83, 43.00, 0.28)
CIE-LCHlch(28.83, 43.00, 0.37°)
OKLaboklab(40.37% 0.1319 0.0012)
OKLCHoklch(40.37% 0.132 0.5)
XYZxyz(10.0224, 5.7709, 6.2152)
Luminance0.0577 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1F45 #1F7D57
analogous
#7D1F74 #7D1F45 #7D281F
triadic
#7D1F45 #457D1F #1F457D
tetradic
#7D1F45 #747D1F #1F7D57 #281F7D
square
#7D1F45 #747D1F #1F7D57 #281F7D
split-complementary
#7D1F45 #1F7D28 #1F747D
monochromatic
#1B070F #4C132A #7D1F45 #AE2B60 #D1457E

Accessibility & contrast

On white

9.75
#7D1F45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7D1F45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1F45
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1F45#FFFFFF#000000##FFFFFF
##7D1F451.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333846
Deuteranopia (green-blind)
#4D4B43
Tritanopia (blue-blind)
#88112F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7d1f45;
/* rgb */ color: rgb(125, 31, 69);
/* oklch */ color: oklch(40.4% 0.132 0.5);
Tailwind
colors: {
  custom: {
    50: '#a76378',
    500: '#7d1f45',
    950: '#000000',
  },
}
SCSS
$custom: #7d1f45;
$custom-light: #a76378;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1f45",
  "rgb": {
    "r": 125,
    "g": 31,
    "b": 69
  },
  "hsl": {
    "h": 335.745,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40368,
    "c": 0.13187,
    "h": 0.5
  },
  "luminance": 0.0577
}

Semantic roles & 50–950 ramp

primary
#7D1F45
secondary
#48B086
accent
#E3A344
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7D1F45

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

Preview Lab → · Contrast checker → · Palette generator →

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