#7B145D#7B145D

#7B145D is a dark, vivid pink. Relative luminance 0.055; OKLCH L 40.1% C 0.154 H 343.2°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#7B145D
RGBrgb(123, 20, 93)
HSLhsl(317, 72%, 28%)
HSVhsv(317, 84%, 48%)
CMYKcmyk(0%, 83.7%, 24.4%, 51.8%)
CIE-LABlab(28.12, 48.93, -16.70)
CIE-LCHlch(28.12, 51.70, 341.15°)
OKLaboklab(40.09% 0.1478 -0.0448)
OKLCHoklch(40.09% 0.154 343.2)
XYZxyz(10.3947, 5.5027, 10.8685)
Luminance0.0550 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B145D #147B32
analogous
#65147B #7B145D #7B1429
triadic
#7B145D #5D7B14 #145D7B
tetradic
#7B145D #7B6514 #147B32 #14297B
square
#7B145D #7B6514 #147B32 #14297B
split-complementary
#7B145D #297B14 #147B65
monochromatic
#1A0414 #460B35 #7B145D #B01D85 #DD2DA9

Accessibility & contrast

On white

10.00
#7B145D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#7B145D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B145D
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B145D#FFFFFF#000000##FFFFFF
##7B145D1.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21385F
Deuteranopia (green-blind)
#42485B
Tritanopia (blue-blind)
#831438
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7b145d;
/* rgb */ color: rgb(123, 20, 93);
/* oklch */ color: oklch(40.1% 0.154 343.2);
Tailwind
colors: {
  custom: {
    50: '#a5608b',
    500: '#7b145d',
    950: '#000000',
  },
}
SCSS
$custom: #7b145d;
$custom-light: #a5608b;
$custom-dark: #000000;
JSON
{
  "hex": "#7b145d",
  "rgb": {
    "r": 123,
    "g": 20,
    "b": 93
  },
  "hsl": {
    "h": 317.476,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.40092,
    "c": 0.15445,
    "h": 343.2
  },
  "luminance": 0.05502
}

Semantic roles & 50–950 ramp

primary
#7B145D
secondary
#3AB15D
accent
#EF6E39
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7B145D

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

Preview Lab → · Contrast checker → · Palette generator →

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