#7D1947#7D1947

#7D1947 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.9% C 0.139 H 358.0°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#7D1947
RGBrgb(125, 25, 71)
HSLhsl(332, 67%, 29%)
HSVhsv(332, 80%, 49%)
CMYKcmyk(0%, 80%, 43.2%, 51%)
CIE-LABlab(28.14, 45.31, -2.05)
CIE-LCHlch(28.14, 45.36, 357.40°)
OKLaboklab(39.89% 0.1393 -0.0048)
OKLCHoklch(39.89% 0.139 358)
XYZxyz(9.9431, 5.5115, 6.5002)
Luminance0.0551 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1947 #197D4F
analogous
#7D1979 #7D1947 #7D1D19
triadic
#7D1947 #477D19 #19477D
tetradic
#7D1947 #797D19 #197D4F #1D197D
square
#7D1947 #797D19 #197D4F #1D197D
split-complementary
#7D1947 #197D1D #19797D
monochromatic
#1A050E #4A0F2A #7D1947 #B02364 #D73982

Accessibility & contrast

On white

9.99
#7D1947 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#7D1947 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1947
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1947#FFFFFF#000000##FFFFFF
##7D19471.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3648
Deuteranopia (green-blind)
#4A4945
Tritanopia (blue-blind)
#88072E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7d1947;
/* rgb */ color: rgb(125, 25, 71);
/* oklch */ color: oklch(39.9% 0.139 358.0);
Tailwind
colors: {
  custom: {
    50: '#a7617a',
    500: '#7d1947',
    950: '#000000',
  },
}
SCSS
$custom: #7d1947;
$custom-light: #a7617a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1947",
  "rgb": {
    "r": 125,
    "g": 25,
    "b": 71
  },
  "hsl": {
    "h": 332.4,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39889,
    "c": 0.13938,
    "h": 358
  },
  "luminance": 0.0551
}

Semantic roles & 50–950 ramp

primary
#7D1947
secondary
#40B17D
accent
#EA9B3E
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7D1947

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

Preview Lab → · Contrast checker → · Palette generator →

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