#7D1E57#7D1E57

#7D1E57 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.0% C 0.142 H 348.4°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#7D1E57
RGBrgb(125, 30, 87)
HSLhsl(324, 61%, 30%)
HSVhsv(324, 76%, 49%)
CMYKcmyk(0%, 76%, 30.4%, 51%)
CIE-LABlab(29.36, 45.49, -10.84)
CIE-LCHlch(29.36, 46.77, 346.60°)
OKLaboklab(40.97% 0.1386 -0.0285)
OKLCHoklch(40.97% 0.142 348.4)
XYZxyz(10.6426, 5.9778, 9.6084)
Luminance0.0598 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1E57 #1E7D44
analogous
#731E7D #7D1E57 #7D1E27
triadic
#7D1E57 #577D1E #1E577D
tetradic
#7D1E57 #7D731E #1E7D44 #1E277D
square
#7D1E57 #7D731E #1E7D44 #1E277D
split-complementary
#7D1E57 #277D1E #1E7D73
monochromatic
#1A0612 #4C1235 #7D1E57 #AE2A79 #D24399

Accessibility & contrast

On white

9.57
#7D1E57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#7D1E57 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1E57
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1E57#FFFFFF#000000##FFFFFF
##7D1E571.009.572.209.57
#FFFFFF9.571.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3B59
Deuteranopia (green-blind)
#484B55
Tritanopia (blue-blind)
#861A38
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7d1e57;
/* rgb */ color: rgb(125, 30, 87);
/* oklch */ color: oklch(41.0% 0.142 348.4);
Tailwind
colors: {
  custom: {
    50: '#a66386',
    500: '#7d1e57',
    950: '#000000',
  },
}
SCSS
$custom: #7d1e57;
$custom-light: #a66386;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1e57",
  "rgb": {
    "r": 125,
    "g": 30,
    "b": 87
  },
  "hsl": {
    "h": 324,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40973,
    "c": 0.14153,
    "h": 348.4
  },
  "luminance": 0.05977
}

Semantic roles & 50–950 ramp

primary
#7D1E57
secondary
#46B071
accent
#E48443
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7D1E57

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

Preview Lab → · Contrast checker → · Palette generator →

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