#7D145E#7D145E

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

Color values

HEX#7D145E
RGBrgb(125, 20, 94)
HSLhsl(318, 72%, 28%)
HSVhsv(318, 84%, 49%)
CMYKcmyk(0%, 84%, 24.8%, 51%)
CIE-LABlab(28.56, 49.56, -16.64)
CIE-LCHlch(28.56, 52.28, 341.44°)
OKLaboklab(40.5% 0.1499 -0.0446)
OKLCHoklch(40.5% 0.156 343.4)
XYZxyz(10.7284, 5.6696, 11.1169)
Luminance0.0567 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D145E #147D33
analogous
#67147D #7D145E #7D1429
triadic
#7D145E #5E7D14 #145E7D
tetradic
#7D145E #7D6714 #147D33 #14297D
square
#7D145E #7D6714 #147D33 #14297D
split-complementary
#7D145E #297D14 #147D67
monochromatic
#1A0414 #480C36 #7D145E #B21C86 #DE2EAA

Accessibility & contrast

On white

9.84
#7D145E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D145E
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D145E#FFFFFF#000000##FFFFFF
##7D145E1.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223860
Deuteranopia (green-blind)
#43495C
Tritanopia (blue-blind)
#861438
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7d145e;
/* rgb */ color: rgb(125, 20, 94);
/* oklch */ color: oklch(40.5% 0.156 343.4);
Tailwind
colors: {
  custom: {
    50: '#a7608b',
    500: '#7d145e',
    950: '#000000',
  },
}
SCSS
$custom: #7d145e;
$custom-light: #a7608b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d145e",
  "rgb": {
    "r": 125,
    "g": 20,
    "b": 94
  },
  "hsl": {
    "h": 317.714,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40498,
    "c": 0.15634,
    "h": 343.4
  },
  "luminance": 0.05668
}

Semantic roles & 50–950 ramp

primary
#7D145E
secondary
#3AB25E
accent
#EF6F39
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7D145E

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

Preview Lab → · Contrast checker → · Palette generator →

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