#7D1856#7D1856

#7D1856 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.4% C 0.148 H 348.4°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#7D1856
RGBrgb(125, 24, 86)
HSLhsl(323, 68%, 29%)
HSVhsv(323, 81%, 49%)
CMYKcmyk(0%, 80.8%, 31.2%, 51%)
CIE-LABlab(28.61, 47.37, -11.32)
CIE-LCHlch(28.61, 48.70, 346.56°)
OKLaboklab(40.41% 0.1447 -0.0298)
OKLCHoklch(40.41% 0.148 348.4)
XYZxyz(10.4643, 5.6863, 9.3488)
Luminance0.0568 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1856 #187D3F
analogous
#72187D #7D1856 #7D1824
triadic
#7D1856 #567D18 #18567D
tetradic
#7D1856 #7D7218 #187D3F #18247D
square
#7D1856 #7D7218 #187D3F #18247D
split-complementary
#7D1856 #247D18 #187D72
monochromatic
#1A0512 #4A0E33 #7D1856 #B02279 #D9379A

Accessibility & contrast

On white

9.83
#7D1856 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7D1856 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1856
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1856#FFFFFF#000000##FFFFFF
##7D18561.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293858
Deuteranopia (green-blind)
#464A54
Tritanopia (blue-blind)
#861235
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7d1856;
/* rgb */ color: rgb(125, 24, 86);
/* oklch */ color: oklch(40.4% 0.148 348.4);
Tailwind
colors: {
  custom: {
    50: '#a76185',
    500: '#7d1856',
    950: '#000000',
  },
}
SCSS
$custom: #7d1856;
$custom-light: #a76185;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1856",
  "rgb": {
    "r": 125,
    "g": 24,
    "b": 86
  },
  "hsl": {
    "h": 323.168,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40413,
    "c": 0.14769,
    "h": 348.4
  },
  "luminance": 0.05685
}

Semantic roles & 50–950 ramp

primary
#7D1856
secondary
#3FB26B
accent
#EB803D
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7D1856

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

Preview Lab → · Contrast checker → · Palette generator →

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