#7D1462#7D1462

#7D1462 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.7% C 0.159 H 341.2°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#7D1462
RGBrgb(125, 20, 98)
HSLhsl(315, 72%, 28%)
HSVhsv(315, 84%, 49%)
CMYKcmyk(0%, 84%, 21.6%, 51%)
CIE-LABlab(28.76, 50.10, -18.96)
CIE-LCHlch(28.76, 53.57, 339.28°)
OKLaboklab(40.7% 0.1505 -0.0511)
OKLCHoklch(40.7% 0.159 341.2)
XYZxyz(10.9126, 5.7433, 12.0868)
Luminance0.0574 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1462 #147D2F
analogous
#63147D #7D1462 #7D142D
triadic
#7D1462 #627D14 #14627D
tetradic
#7D1462 #7D6314 #147D2F #142D7D
square
#7D1462 #7D6314 #147D2F #142D7D
split-complementary
#7D1462 #2D7D14 #147D63
monochromatic
#1A0415 #480C39 #7D1462 #B21C8B #DE2EB0

Accessibility & contrast

On white

9.77
#7D1462 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7D1462 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1462
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1462#FFFFFF#000000##FFFFFF
##7D14621.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3964
Deuteranopia (green-blind)
#414A60
Tritanopia (blue-blind)
#85173A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7d1462;
/* rgb */ color: rgb(125, 20, 98);
/* oklch */ color: oklch(40.7% 0.159 341.2);
Tailwind
colors: {
  custom: {
    50: '#a6608f',
    500: '#7d1462',
    950: '#000000',
  },
}
SCSS
$custom: #7d1462;
$custom-light: #a6608f;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1462",
  "rgb": {
    "r": 125,
    "g": 20,
    "b": 98
  },
  "hsl": {
    "h": 315.429,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40699,
    "c": 0.15891,
    "h": 341.2
  },
  "luminance": 0.05742
}

Semantic roles & 50–950 ramp

primary
#7D1462
secondary
#3AB259
accent
#EF6839
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7D1462

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

Preview Lab → · Contrast checker → · Palette generator →

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