#7B155F#7B155F

#7B155F is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.3% C 0.155 H 342.1°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#7B155F
RGBrgb(123, 21, 95)
HSLhsl(316, 71%, 28%)
HSVhsv(316, 83%, 48%)
CMYKcmyk(0%, 82.9%, 22.8%, 51.8%)
CIE-LABlab(28.31, 48.93, -17.72)
CIE-LCHlch(28.31, 52.04, 340.10°)
OKLaboklab(40.26% 0.1473 -0.0476)
OKLCHoklch(40.26% 0.155 342.1)
XYZxyz(10.5025, 5.5746, 11.3472)
Luminance0.0557 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B155F #157B31
analogous
#64157B #7B155F #7B152C
triadic
#7B155F #5F7B15 #155F7B
tetradic
#7B155F #7B6415 #157B31 #152C7B
square
#7B155F #7B6415 #157B31 #152C7B
split-complementary
#7B155F #2C7B15 #157B64
monochromatic
#1A0414 #470C37 #7B155F #AF1E87 #DB2FAC

Accessibility & contrast

On white

9.93
#7B155F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#7B155F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B155F
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B155F#FFFFFF#000000##FFFFFF
##7B155F1.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203861
Deuteranopia (green-blind)
#41495D
Tritanopia (blue-blind)
#831739
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7b155f;
/* rgb */ color: rgb(123, 21, 95);
/* oklch */ color: oklch(40.3% 0.155 342.1);
Tailwind
colors: {
  custom: {
    50: '#a5608c',
    500: '#7b155f',
    950: '#000000',
  },
}
SCSS
$custom: #7b155f;
$custom-light: #a5608c;
$custom-dark: #000000;
JSON
{
  "hex": "#7b155f",
  "rgb": {
    "r": 123,
    "g": 21,
    "b": 95
  },
  "hsl": {
    "h": 316.471,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.40261,
    "c": 0.1548,
    "h": 342.1
  },
  "luminance": 0.05574
}

Semantic roles & 50–950 ramp

primary
#7B155F
secondary
#3BB05C
accent
#EE6B3A
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7B155F

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

Preview Lab → · Contrast checker → · Palette generator →

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