#7D1458#7D1458

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

Color values

HEX#7D1458
RGBrgb(125, 20, 88)
HSLhsl(321, 72%, 28%)
HSVhsv(321, 84%, 49%)
CMYKcmyk(0%, 84%, 29.6%, 51%)
CIE-LABlab(28.29, 48.77, -13.13)
CIE-LCHlch(28.29, 50.51, 344.94°)
OKLaboklab(40.21% 0.1487 -0.0347)
OKLCHoklch(40.21% 0.153 346.9)
XYZxyz(10.4696, 5.5661, 9.7536)
Luminance0.0556 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1458 #147D39
analogous
#6D147D #7D1458 #7D1423
triadic
#7D1458 #587D14 #14587D
tetradic
#7D1458 #7D6D14 #147D39 #14237D
square
#7D1458 #7D6D14 #147D39 #14237D
split-complementary
#7D1458 #237D14 #147D6D
monochromatic
#1A0413 #480C33 #7D1458 #B21C7D #DE2EA0

Accessibility & contrast

On white

9.94
#7D1458 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#7D1458 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1458
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1458#FFFFFF#000000##FFFFFF
##7D14581.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25375A
Deuteranopia (green-blind)
#454956
Tritanopia (blue-blind)
#860F35
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7d1458;
/* rgb */ color: rgb(125, 20, 88);
/* oklch */ color: oklch(40.2% 0.153 346.9);
Tailwind
colors: {
  custom: {
    50: '#a76087',
    500: '#7d1458',
    950: '#000000',
  },
}
SCSS
$custom: #7d1458;
$custom-light: #a76087;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1458",
  "rgb": {
    "r": 125,
    "g": 20,
    "b": 88
  },
  "hsl": {
    "h": 321.143,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40212,
    "c": 0.15272,
    "h": 346.9
  },
  "luminance": 0.05565
}

Semantic roles & 50–950 ramp

primary
#7D1458
secondary
#3AB265
accent
#EF7939
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7D1458

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

Preview Lab → · Contrast checker → · Palette generator →

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