#7B154F#7B154F

#7B154F is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.5% C 0.145 H 351.6°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#7B154F
RGBrgb(123, 21, 79)
HSLhsl(326, 71%, 28%)
HSVhsv(326, 83%, 48%)
CMYKcmyk(0%, 82.9%, 35.8%, 51.8%)
CIE-LABlab(27.61, 46.88, -8.24)
CIE-LCHlch(27.61, 47.59, 350.03°)
OKLaboklab(39.52% 0.1439 -0.0213)
OKLCHoklch(39.52% 0.145 351.6)
XYZxyz(9.8484, 5.3130, 7.9025)
Luminance0.0531 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B154F #157B41
analogous
#74157B #7B154F #7B151C
triadic
#7B154F #4F7B15 #154F7B
tetradic
#7B154F #7B7415 #157B41 #151C7B
square
#7B154F #7B7415 #157B41 #151C7B
split-complementary
#7B154F #1C7B15 #157B74
monochromatic
#1A0411 #470C2D #7B154F #AF1E71 #DB2F91

Accessibility & contrast

On white

10.18
#7B154F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#7B154F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B154F
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B154F#FFFFFF#000000##FFFFFF
##7B154F1.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293650
Deuteranopia (green-blind)
#46484D
Tritanopia (blue-blind)
#850A30
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7b154f;
/* rgb */ color: rgb(123, 21, 79);
/* oklch */ color: oklch(39.5% 0.145 351.6);
Tailwind
colors: {
  custom: {
    50: '#a55f80',
    500: '#7b154f',
    950: '#000000',
  },
}
SCSS
$custom: #7b154f;
$custom-light: #a55f80;
$custom-dark: #000000;
JSON
{
  "hex": "#7b154f",
  "rgb": {
    "r": 123,
    "g": 21,
    "b": 79
  },
  "hsl": {
    "h": 325.882,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.39521,
    "c": 0.14545,
    "h": 351.6
  },
  "luminance": 0.05312
}

Semantic roles & 50–950 ramp

primary
#7B154F
secondary
#3BB06E
accent
#EE883A
background
#FAF5F7
surface
#F4EAEE
border
#CEC6C9
text
#10050A
muted
#7F797C

Preview Lab

Preview with #7B154F

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

Preview Lab → · Contrast checker → · Palette generator →

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