#7B154B#7B154B

#7B154B is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.4% C 0.143 H 354.1°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#7B154B
RGBrgb(123, 21, 75)
HSLhsl(328, 71%, 28%)
HSVhsv(328, 83%, 48%)
CMYKcmyk(0%, 82.9%, 39%, 51.8%)
CIE-LABlab(27.45, 46.42, -5.80)
CIE-LCHlch(27.45, 46.78, 352.88°)
OKLaboklab(39.36% 0.1427 -0.0147)
OKLCHoklch(39.36% 0.143 354.1)
XYZxyz(9.7072, 5.2565, 7.1587)
Luminance0.0525 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B154B #157B45
analogous
#78157B #7B154B #7B1518
triadic
#7B154B #4B7B15 #154B7B
tetradic
#7B154B #7B7815 #157B45 #15187B
square
#7B154B #7B7815 #157B45 #15187B
split-complementary
#7B154B #187B15 #157B78
monochromatic
#1A0410 #470C2B #7B154B #AF1E6B #DB2F8A

Accessibility & contrast

On white

10.24
#7B154B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#7B154B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B154B
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B154B#FFFFFF#000000##FFFFFF
##7B154B1.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A354C
Deuteranopia (green-blind)
#474749
Tritanopia (blue-blind)
#85062E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7b154b;
/* rgb */ color: rgb(123, 21, 75);
/* oklch */ color: oklch(39.4% 0.143 354.1);
Tailwind
colors: {
  custom: {
    50: '#a65f7d',
    500: '#7b154b',
    950: '#000000',
  },
}
SCSS
$custom: #7b154b;
$custom-light: #a65f7d;
$custom-dark: #000000;
JSON
{
  "hex": "#7b154b",
  "rgb": {
    "r": 123,
    "g": 21,
    "b": 75
  },
  "hsl": {
    "h": 328.235,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39357,
    "c": 0.14349,
    "h": 354.1
  },
  "luminance": 0.05255
}

Semantic roles & 50–950 ramp

primary
#7B154B
secondary
#3BB072
accent
#EE8F3A
background
#FAF5F7
surface
#F4EAEE
border
#CEC6C9
text
#100509
muted
#7F797B

Preview Lab

Preview with #7B154B

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

Preview Lab → · Contrast checker → · Palette generator →

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