#7B145F#7B145F

#7B145F is a dark, vivid pink. Relative luminance 0.055; OKLCH L 40.2% C 0.156 H 342.0°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#7B145F
RGBrgb(123, 20, 95)
HSLhsl(316, 72%, 28%)
HSVhsv(316, 84%, 48%)
CMYKcmyk(0%, 83.7%, 22.8%, 51.8%)
CIE-LABlab(28.22, 49.20, -17.86)
CIE-LCHlch(28.22, 52.35, 340.04°)
OKLaboklab(40.19% 0.1481 -0.048)
OKLCHoklch(40.19% 0.156 342)
XYZxyz(10.4845, 5.5386, 11.3412)
Luminance0.0554 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B145F #147B30
analogous
#63147B #7B145F #7B142B
triadic
#7B145F #5F7B14 #145F7B
tetradic
#7B145F #7B6314 #147B30 #142B7B
square
#7B145F #7B6314 #147B30 #142B7B
split-complementary
#7B145F #2B7B14 #147B63
monochromatic
#1A0414 #460B36 #7B145F #B01D88 #DD2DAD

Accessibility & contrast

On white

9.96
#7B145F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B145F
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B145F#FFFFFF#000000##FFFFFF
##7B145F1.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b145f;
/* rgb */ color: rgb(123, 20, 95);
/* oklch */ color: oklch(40.2% 0.156 342.0);
Tailwind
colors: {
  custom: {
    50: '#a5608c',
    500: '#7b145f',
    950: '#000000',
  },
}
SCSS
$custom: #7b145f;
$custom-light: #a5608c;
$custom-dark: #000000;
JSON
{
  "hex": "#7b145f",
  "rgb": {
    "r": 123,
    "g": 20,
    "b": 95
  },
  "hsl": {
    "h": 316.311,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.40192,
    "c": 0.15573,
    "h": 342
  },
  "luminance": 0.05537
}

Semantic roles & 50–950 ramp

primary
#7B145F
secondary
#3AB15A
accent
#EF6A39
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7B145F

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

Preview Lab → · Contrast checker → · Palette generator →

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