#7D154B#7D154B

#7D154B is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.7% C 0.145 H 354.9°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#7D154B
RGBrgb(125, 21, 75)
HSLhsl(329, 71%, 29%)
HSVhsv(329, 83%, 49%)
CMYKcmyk(0%, 83.2%, 40%, 51%)
CIE-LABlab(27.86, 46.96, -5.15)
CIE-LCHlch(27.86, 47.24, 353.74°)
OKLaboklab(39.73% 0.1445 -0.013)
OKLCHoklch(39.73% 0.145 354.9)
XYZxyz(9.9963, 5.4056, 7.1722)
Luminance0.0540 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D154B #157D47
analogous
#7B157D #7D154B #7D1517
triadic
#7D154B #4B7D15 #154B7D
tetradic
#7D154B #7D7B15 #157D47 #15177D
square
#7D154B #7D7B15 #157D47 #15177D
split-complementary
#7D154B #177D15 #157D7B
monochromatic
#1A0410 #490C2C #7D154B #B11E6A #DC308A

Accessibility & contrast

On white

10.09
#7D154B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D154B
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D154B#FFFFFF#000000##FFFFFF
##7D154B1.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C364C
Deuteranopia (green-blind)
#494949
Tritanopia (blue-blind)
#88042E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7d154b;
/* rgb */ color: rgb(125, 21, 75);
/* oklch */ color: oklch(39.7% 0.145 354.9);
Tailwind
colors: {
  custom: {
    50: '#a7607d',
    500: '#7d154b',
    950: '#000000',
  },
}
SCSS
$custom: #7d154b;
$custom-light: #a7607d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d154b",
  "rgb": {
    "r": 125,
    "g": 21,
    "b": 75
  },
  "hsl": {
    "h": 328.846,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39728,
    "c": 0.14505,
    "h": 354.9
  },
  "luminance": 0.05404
}

Semantic roles & 50–950 ramp

primary
#7D154B
secondary
#3CB275
accent
#EE903A
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7D154B

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

Preview Lab → · Contrast checker → · Palette generator →

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