#7D154F#7D154F

#7D154F is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.9% C 0.147 H 352.4°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#7D154F
RGBrgb(125, 21, 79)
HSLhsl(327, 71%, 29%)
HSVhsv(327, 83%, 49%)
CMYKcmyk(0%, 83.2%, 36.8%, 51%)
CIE-LABlab(28.01, 47.41, -7.59)
CIE-LCHlch(28.01, 48.01, 350.91°)
OKLaboklab(39.89% 0.1456 -0.0195)
OKLCHoklch(39.89% 0.147 352.4)
XYZxyz(10.1375, 5.4621, 7.9161)
Luminance0.0546 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D154F #157D43
analogous
#77157D #7D154F #7D151B
triadic
#7D154F #4F7D15 #154F7D
tetradic
#7D154F #7D7715 #157D43 #151B7D
square
#7D154F #7D7715 #157D43 #151B7D
split-complementary
#7D154F #1B7D15 #157D77
monochromatic
#1A0411 #490C2E #7D154F #B11E70 #DC3090

Accessibility & contrast

On white

10.04
#7D154F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D154F
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D154F#FFFFFF#000000##FFFFFF
##7D154F1.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3650
Deuteranopia (green-blind)
#48494D
Tritanopia (blue-blind)
#870830
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7d154f;
/* rgb */ color: rgb(125, 21, 79);
/* oklch */ color: oklch(39.9% 0.147 352.4);
Tailwind
colors: {
  custom: {
    50: '#a76080',
    500: '#7d154f',
    950: '#000000',
  },
}
SCSS
$custom: #7d154f;
$custom-light: #a76080;
$custom-dark: #000000;
JSON
{
  "hex": "#7d154f",
  "rgb": {
    "r": 125,
    "g": 21,
    "b": 79
  },
  "hsl": {
    "h": 326.538,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39888,
    "c": 0.14695,
    "h": 352.4
  },
  "luminance": 0.05461
}

Semantic roles & 50–950 ramp

primary
#7D154F
secondary
#3CB270
accent
#EE8A3A
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7D154F

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

Preview Lab → · Contrast checker → · Palette generator →

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