#7D1858#7D1858

#7D1858 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.5% C 0.149 H 347.2°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#7D1858
RGBrgb(125, 24, 88)
HSLhsl(322, 68%, 29%)
HSVhsv(322, 81%, 49%)
CMYKcmyk(0%, 80.8%, 29.6%, 51%)
CIE-LABlab(28.69, 47.62, -12.51)
CIE-LCHlch(28.69, 49.24, 345.28°)
OKLaboklab(40.5% 0.1451 -0.0331)
OKLCHoklch(40.5% 0.149 347.2)
XYZxyz(10.5461, 5.7190, 9.7791)
Luminance0.0572 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1858 #187D3D
analogous
#70187D #7D1858 #7D1826
triadic
#7D1858 #587D18 #18587D
tetradic
#7D1858 #7D7018 #187D3D #18267D
square
#7D1858 #7D7018 #187D3D #18267D
split-complementary
#7D1858 #267D18 #187D70
monochromatic
#1A0512 #4A0E34 #7D1858 #B0227C #D9379D

Accessibility & contrast

On white

9.80
#7D1858 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1858
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1858#FFFFFF#000000##FFFFFF
##7D18581.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28395A
Deuteranopia (green-blind)
#464A56
Tritanopia (blue-blind)
#861436
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7d1858;
/* rgb */ color: rgb(125, 24, 88);
/* oklch */ color: oklch(40.5% 0.149 347.2);
Tailwind
colors: {
  custom: {
    50: '#a76187',
    500: '#7d1858',
    950: '#000000',
  },
}
SCSS
$custom: #7d1858;
$custom-light: #a76187;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1858",
  "rgb": {
    "r": 125,
    "g": 24,
    "b": 88
  },
  "hsl": {
    "h": 321.98,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40503,
    "c": 0.14885,
    "h": 347.2
  },
  "luminance": 0.05718
}

Semantic roles & 50–950 ramp

primary
#7D1858
secondary
#3FB269
accent
#EB7D3D
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7D1858

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

Preview Lab → · Contrast checker → · Palette generator →

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