#7D1658#7D1658

#7D1658 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.4% C 0.151 H 347.0°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#7D1658
RGBrgb(125, 22, 88)
HSLhsl(322, 70%, 29%)
HSVhsv(322, 82%, 49%)
CMYKcmyk(0%, 82.4%, 29.6%, 51%)
CIE-LABlab(28.48, 48.22, -12.83)
CIE-LCHlch(28.48, 49.90, 345.10°)
OKLaboklab(40.35% 0.147 -0.0339)
OKLCHoklch(40.35% 0.151 347)
XYZxyz(10.5063, 5.6396, 9.7659)
Luminance0.0564 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1658 #167D3B
analogous
#6F167D #7D1658 #7D1625
triadic
#7D1658 #587D16 #16587D
tetradic
#7D1658 #7D6F16 #167D3B #16257D
square
#7D1658 #7D6F16 #167D3B #16257D
split-complementary
#7D1658 #257D16 #167D6F
monochromatic
#1A0512 #490D33 #7D1658 #B11F7D #DB329E

Accessibility & contrast

On white

9.87
#7D1658 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#7D1658 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1658
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1658#FFFFFF#000000##FFFFFF
##7D16581.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26385A
Deuteranopia (green-blind)
#454956
Tritanopia (blue-blind)
#861135
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7d1658;
/* rgb */ color: rgb(125, 22, 88);
/* oklch */ color: oklch(40.4% 0.151 347.0);
Tailwind
colors: {
  custom: {
    50: '#a76087',
    500: '#7d1658',
    950: '#000000',
  },
}
SCSS
$custom: #7d1658;
$custom-light: #a76087;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1658",
  "rgb": {
    "r": 125,
    "g": 22,
    "b": 88
  },
  "hsl": {
    "h": 321.553,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40352,
    "c": 0.15084,
    "h": 347
  },
  "luminance": 0.05638
}

Semantic roles & 50–950 ramp

primary
#7D1658
secondary
#3DB267
accent
#ED7B3B
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7D1658

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

Preview Lab → · Contrast checker → · Palette generator →

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