#7D1847#7D1847

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

Color values

HEX#7D1847
RGBrgb(125, 24, 71)
HSLhsl(332, 68%, 29%)
HSVhsv(332, 81%, 49%)
CMYKcmyk(0%, 80.8%, 43.2%, 51%)
CIE-LABlab(28.03, 45.63, -2.22)
CIE-LCHlch(28.03, 45.69, 357.21°)
OKLaboklab(39.81% 0.1403 -0.0053)
OKLCHoklch(39.81% 0.14 357.9)
XYZxyz(9.9222, 5.4695, 6.4932)
Luminance0.0547 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1847 #187D4E
analogous
#7D187A #7D1847 #7D1C18
triadic
#7D1847 #477D18 #18477D
tetradic
#7D1847 #7A7D18 #187D4E #1C187D
square
#7D1847 #7A7D18 #187D4E #1C187D
split-complementary
#7D1847 #187D1C #187A7D
monochromatic
#1A050F #4A0E2A #7D1847 #B02264 #D93782

Accessibility & contrast

On white

10.03
#7D1847 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#7D1847 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1847
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1847#FFFFFF#000000##FFFFFF
##7D18471.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d1847;
/* rgb */ color: rgb(125, 24, 71);
/* oklch */ color: oklch(39.8% 0.140 357.9);
Tailwind
colors: {
  custom: {
    50: '#a7617a',
    500: '#7d1847',
    950: '#000000',
  },
}
SCSS
$custom: #7d1847;
$custom-light: #a7617a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1847",
  "rgb": {
    "r": 125,
    "g": 24,
    "b": 71
  },
  "hsl": {
    "h": 332.079,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39807,
    "c": 0.14042,
    "h": 357.9
  },
  "luminance": 0.05468
}

Semantic roles & 50–950 ramp

primary
#7D1847
secondary
#3FB27C
accent
#EB9A3D
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7D1847

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

Preview Lab → · Contrast checker → · Palette generator →

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