#7D1852#7D1852

#7D1852 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.2% C 0.146 H 350.8°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#7D1852
RGBrgb(125, 24, 82)
HSLhsl(326, 68%, 29%)
HSVhsv(326, 81%, 49%)
CMYKcmyk(0%, 80.8%, 34.4%, 51%)
CIE-LABlab(28.44, 46.88, -8.93)
CIE-LCHlch(28.44, 47.72, 349.21°)
OKLaboklab(40.24% 0.1437 -0.0232)
OKLCHoklch(40.24% 0.146 350.8)
XYZxyz(10.3077, 5.6237, 8.5237)
Luminance0.0562 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1852 #187D43
analogous
#76187D #7D1852 #7D181F
triadic
#7D1852 #527D18 #18527D
tetradic
#7D1852 #7D7618 #187D43 #181F7D
square
#7D1852 #7D7618 #187D43 #181F7D
split-complementary
#7D1852 #1F7D18 #187D76
monochromatic
#1A0511 #4A0E30 #7D1852 #B02274 #D93794

Accessibility & contrast

On white

9.89
#7D1852 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#7D1852 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1852
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1852#FFFFFF#000000##FFFFFF
##7D18521.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3853
Deuteranopia (green-blind)
#484A50
Tritanopia (blue-blind)
#870F33
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7d1852;
/* rgb */ color: rgb(125, 24, 82);
/* oklch */ color: oklch(40.2% 0.146 350.8);
Tailwind
colors: {
  custom: {
    50: '#a76182',
    500: '#7d1852',
    950: '#000000',
  },
}
SCSS
$custom: #7d1852;
$custom-light: #a76182;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1852",
  "rgb": {
    "r": 125,
    "g": 24,
    "b": 82
  },
  "hsl": {
    "h": 325.545,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.4024,
    "c": 0.14551,
    "h": 350.8
  },
  "luminance": 0.05622
}

Semantic roles & 50–950 ramp

primary
#7D1852
secondary
#3FB270
accent
#EB873D
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7D1852

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

Preview Lab → · Contrast checker → · Palette generator →

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