#7B145E#7B145E

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

Color values

HEX#7B145E
RGBrgb(123, 20, 94)
HSLhsl(317, 72%, 28%)
HSVhsv(317, 84%, 48%)
CMYKcmyk(0%, 83.7%, 23.6%, 51.8%)
CIE-LABlab(28.17, 49.07, -17.29)
CIE-LCHlch(28.17, 52.02, 340.59°)
OKLaboklab(40.14% 0.148 -0.0464)
OKLCHoklch(40.14% 0.155 342.6)
XYZxyz(10.4393, 5.5205, 11.1033)
Luminance0.0552 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B145E #147B31
analogous
#64147B #7B145E #7B142B
triadic
#7B145E #5E7B14 #145E7B
tetradic
#7B145E #7B6414 #147B31 #142B7B
square
#7B145E #7B6414 #147B31 #142B7B
split-complementary
#7B145E #2B7B14 #147B64
monochromatic
#1A0414 #460B36 #7B145E #B01D86 #DD2DAB

Accessibility & contrast

On white

9.98
#7B145E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B145E
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B145E#FFFFFF#000000##FFFFFF
##7B145E1.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203860
Deuteranopia (green-blind)
#41485C
Tritanopia (blue-blind)
#831538
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7b145e;
/* rgb */ color: rgb(123, 20, 94);
/* oklch */ color: oklch(40.1% 0.155 342.6);
Tailwind
colors: {
  custom: {
    50: '#a5608c',
    500: '#7b145e',
    950: '#000000',
  },
}
SCSS
$custom: #7b145e;
$custom-light: #a5608c;
$custom-dark: #000000;
JSON
{
  "hex": "#7b145e",
  "rgb": {
    "r": 123,
    "g": 20,
    "b": 94
  },
  "hsl": {
    "h": 316.893,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.40142,
    "c": 0.15508,
    "h": 342.6
  },
  "luminance": 0.05519
}

Semantic roles & 50–950 ramp

primary
#7B145E
secondary
#3AB15C
accent
#EF6C39
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7B145E

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

Preview Lab → · Contrast checker → · Palette generator →

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