#7D1E58#7D1E58

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

Color values

HEX#7D1E58
RGBrgb(125, 30, 88)
HSLhsl(323, 61%, 30%)
HSVhsv(323, 76%, 49%)
CMYKcmyk(0%, 76%, 29.6%, 51%)
CIE-LABlab(29.40, 45.62, -11.43)
CIE-LCHlch(29.40, 47.03, 345.93°)
OKLaboklab(41.02% 0.1389 -0.0301)
OKLCHoklch(41.02% 0.142 347.8)
XYZxyz(10.6837, 5.9943, 9.8250)
Luminance0.0599 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1E58 #1E7D43
analogous
#721E7D #7D1E58 #7D1E29
triadic
#7D1E58 #587D1E #1E587D
tetradic
#7D1E58 #7D721E #1E7D43 #1E297D
square
#7D1E58 #7D721E #1E7D43 #1E297D
split-complementary
#7D1E58 #297D1E #1E7D72
monochromatic
#1A0613 #4C1235 #7D1E58 #AE2A7B #D2439A

Accessibility & contrast

On white

9.55
#7D1E58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1E58
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1E58#FFFFFF#000000##FFFFFF
##7D1E581.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d1e58;
/* rgb */ color: rgb(125, 30, 88);
/* oklch */ color: oklch(41.0% 0.142 347.8);
Tailwind
colors: {
  custom: {
    50: '#a66487',
    500: '#7d1e58',
    950: '#000000',
  },
}
SCSS
$custom: #7d1e58;
$custom-light: #a66487;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1e58",
  "rgb": {
    "r": 125,
    "g": 30,
    "b": 88
  },
  "hsl": {
    "h": 323.368,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.41017,
    "c": 0.14211,
    "h": 347.8
  },
  "luminance": 0.05993
}

Semantic roles & 50–950 ramp

primary
#7D1E58
secondary
#46B070
accent
#E48243
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7D1E58

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

Preview Lab → · Contrast checker → · Palette generator →

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