#7D145F#7D145F

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

Color values

HEX#7D145F
RGBrgb(125, 20, 95)
HSLhsl(317, 72%, 28%)
HSVhsv(317, 84%, 49%)
CMYKcmyk(0%, 84%, 24%, 51%)
CIE-LABlab(28.61, 49.69, -17.22)
CIE-LCHlch(28.61, 52.59, 340.88°)
OKLaboklab(40.55% 0.15 -0.0462)
OKLCHoklch(40.55% 0.157 342.9)
XYZxyz(10.7736, 5.6877, 11.3547)
Luminance0.0569 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D145F #147D32
analogous
#66147D #7D145F #7D142A
triadic
#7D145F #5F7D14 #145F7D
tetradic
#7D145F #7D6614 #147D32 #142A7D
square
#7D145F #7D6614 #147D32 #142A7D
split-complementary
#7D145F #2A7D14 #147D66
monochromatic
#1A0414 #480C37 #7D145F #B21C87 #DE2EAB

Accessibility & contrast

On white

9.83
#7D145F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D145F
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D145F#FFFFFF#000000##FFFFFF
##7D145F1.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213961
Deuteranopia (green-blind)
#424A5D
Tritanopia (blue-blind)
#861539
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7d145f;
/* rgb */ color: rgb(125, 20, 95);
/* oklch */ color: oklch(40.5% 0.157 342.9);
Tailwind
colors: {
  custom: {
    50: '#a7608c',
    500: '#7d145f',
    950: '#000000',
  },
}
SCSS
$custom: #7d145f;
$custom-light: #a7608c;
$custom-dark: #000000;
JSON
{
  "hex": "#7d145f",
  "rgb": {
    "r": 125,
    "g": 20,
    "b": 95
  },
  "hsl": {
    "h": 317.143,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40548,
    "c": 0.15698,
    "h": 342.9
  },
  "luminance": 0.05687
}

Semantic roles & 50–950 ramp

primary
#7D145F
secondary
#3AB25D
accent
#EF6D39
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7D145F

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

Preview Lab → · Contrast checker → · Palette generator →

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