#7D154E#7D154E

#7D154E is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.8% C 0.146 H 353.0°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#7D154E
RGBrgb(125, 21, 78)
HSLhsl(327, 71%, 29%)
HSVhsv(327, 83%, 49%)
CMYKcmyk(0%, 83.2%, 37.6%, 51%)
CIE-LABlab(27.97, 47.30, -6.98)
CIE-LCHlch(27.97, 47.81, 351.60°)
OKLaboklab(39.85% 0.1454 -0.0179)
OKLCHoklch(39.85% 0.146 353)
XYZxyz(10.1014, 5.4476, 7.7258)
Luminance0.0545 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D154E #157D44
analogous
#78157D #7D154E #7D151A
triadic
#7D154E #4E7D15 #154E7D
tetradic
#7D154E #7D7815 #157D44 #151A7D
square
#7D154E #7D7815 #157D44 #151A7D
split-complementary
#7D154E #1A7D15 #157D78
monochromatic
#1A0410 #490C2D #7D154E #B11E6F #DC308E

Accessibility & contrast

On white

10.05
#7D154E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#7D154E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D154E
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D154E#FFFFFF#000000##FFFFFF
##7D154E1.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A364F
Deuteranopia (green-blind)
#48494C
Tritanopia (blue-blind)
#870730
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7d154e;
/* rgb */ color: rgb(125, 21, 78);
/* oklch */ color: oklch(39.8% 0.146 353.0);
Tailwind
colors: {
  custom: {
    50: '#a7607f',
    500: '#7d154e',
    950: '#000000',
  },
}
SCSS
$custom: #7d154e;
$custom-light: #a7607f;
$custom-dark: #000000;
JSON
{
  "hex": "#7d154e",
  "rgb": {
    "r": 125,
    "g": 21,
    "b": 78
  },
  "hsl": {
    "h": 327.115,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39847,
    "c": 0.14646,
    "h": 353
  },
  "luminance": 0.05446
}

Semantic roles & 50–950 ramp

primary
#7D154E
secondary
#3CB271
accent
#EE8B3A
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7D154E

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

Preview Lab → · Contrast checker → · Palette generator →

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