#7D1949#7D1949

#7D1949 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 40.0% C 0.140 H 356.7°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#7D1949
RGBrgb(125, 25, 73)
HSLhsl(331, 67%, 29%)
HSVhsv(331, 80%, 49%)
CMYKcmyk(0%, 80%, 41.6%, 51%)
CIE-LABlab(28.21, 45.53, -3.29)
CIE-LCHlch(28.21, 45.65, 355.87°)
OKLaboklab(39.96% 0.14 -0.0081)
OKLCHoklch(39.96% 0.14 356.7)
XYZxyz(10.0084, 5.5376, 6.8439)
Luminance0.0554 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1949 #197D4D
analogous
#7D197B #7D1949 #7D1B19
triadic
#7D1949 #497D19 #19497D
tetradic
#7D1949 #7B7D19 #197D4D #1B197D
square
#7D1949 #7B7D19 #197D4D #1B197D
split-complementary
#7D1949 #197D1B #197B7D
monochromatic
#1A050F #4A0F2B #7D1949 #B02367 #D73985

Accessibility & contrast

On white

9.97
#7D1949 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#7D1949 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1949
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1949#FFFFFF#000000##FFFFFF
##7D19491.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E374A
Deuteranopia (green-blind)
#4A4947
Tritanopia (blue-blind)
#88092F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7d1949;
/* rgb */ color: rgb(125, 25, 73);
/* oklch */ color: oklch(40.0% 0.140 356.7);
Tailwind
colors: {
  custom: {
    50: '#a7617b',
    500: '#7d1949',
    950: '#000000',
  },
}
SCSS
$custom: #7d1949;
$custom-light: #a7617b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1949",
  "rgb": {
    "r": 125,
    "g": 25,
    "b": 73
  },
  "hsl": {
    "h": 331.2,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39963,
    "c": 0.14019,
    "h": 356.7
  },
  "luminance": 0.05536
}

Semantic roles & 50–950 ramp

primary
#7D1949
secondary
#40B17B
accent
#EA973E
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7D1949

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

Preview Lab → · Contrast checker → · Palette generator →

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