#7D154C#7D154C

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

Color values

HEX#7D154C
RGBrgb(125, 21, 76)
HSLhsl(328, 71%, 29%)
HSVhsv(328, 83%, 49%)
CMYKcmyk(0%, 83.2%, 39.2%, 51%)
CIE-LABlab(27.90, 47.07, -5.76)
CIE-LCHlch(27.90, 47.42, 353.02°)
OKLaboklab(39.77% 0.1448 -0.0146)
OKLCHoklch(39.77% 0.146 354.2)
XYZxyz(10.0308, 5.4194, 7.3539)
Luminance0.0542 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D154C #157D46
analogous
#7A157D #7D154C #7D1518
triadic
#7D154C #4C7D15 #154C7D
tetradic
#7D154C #7D7A15 #157D46 #15187D
square
#7D154C #7D7A15 #157D46 #15187D
split-complementary
#7D154C #187D15 #157D7A
monochromatic
#1A0410 #490C2C #7D154C #B11E6C #DC308B

Accessibility & contrast

On white

10.08
#7D154C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#7D154C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D154C
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D154C#FFFFFF#000000##FFFFFF
##7D154C1.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B364D
Deuteranopia (green-blind)
#48494A
Tritanopia (blue-blind)
#87052F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7d154c;
/* rgb */ color: rgb(125, 21, 76);
/* oklch */ color: oklch(39.8% 0.146 354.2);
Tailwind
colors: {
  custom: {
    50: '#a7607e',
    500: '#7d154c',
    950: '#000000',
  },
}
SCSS
$custom: #7d154c;
$custom-light: #a7607e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d154c",
  "rgb": {
    "r": 125,
    "g": 21,
    "b": 76
  },
  "hsl": {
    "h": 328.269,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39767,
    "c": 0.14551,
    "h": 354.2
  },
  "luminance": 0.05418
}

Semantic roles & 50–950 ramp

primary
#7D154C
secondary
#3CB273
accent
#EE8F3A
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7D154C

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

Preview Lab → · Contrast checker → · Palette generator →

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