#7B1956#7B1956

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

Color values

HEX#7B1956
RGBrgb(123, 25, 86)
HSLhsl(323, 66%, 29%)
HSVhsv(323, 80%, 48%)
CMYKcmyk(0%, 79.7%, 30.1%, 51.8%)
CIE-LABlab(28.33, 46.52, -11.79)
CIE-LCHlch(28.33, 47.99, 345.78°)
OKLaboklab(40.14% 0.1418 -0.0311)
OKLCHoklch(40.14% 0.145 347.6)
XYZxyz(10.1962, 5.5793, 9.3422)
Luminance0.0558 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1956 #197B3E
analogous
#6F197B #7B1956 #7B1925
triadic
#7B1956 #567B19 #19567B
tetradic
#7B1956 #7B6F19 #197B3E #19257B
square
#7B1956 #7B6F19 #197B3E #19257B
split-complementary
#7B1956 #257B19 #197B6F
monochromatic
#190512 #480F32 #7B1956 #AE237A #D7389B

Accessibility & contrast

On white

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

On black

2.12
#7B1956 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7B1956#FFFFFF#000000##FFFFFF
##7B19561.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283858
Deuteranopia (green-blind)
#454954
Tritanopia (blue-blind)
#841535
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7b1956;
/* rgb */ color: rgb(123, 25, 86);
/* oklch */ color: oklch(40.1% 0.145 347.6);
Tailwind
colors: {
  custom: {
    50: '#a56185',
    500: '#7b1956',
    950: '#000000',
  },
}
SCSS
$custom: #7b1956;
$custom-light: #a56185;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1956",
  "rgb": {
    "r": 123,
    "g": 25,
    "b": 86
  },
  "hsl": {
    "h": 322.653,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40137,
    "c": 0.14518,
    "h": 347.6
  },
  "luminance": 0.05578
}

Semantic roles & 50–950 ramp

primary
#7B1956
secondary
#40AF6A
accent
#E97F3F
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7B1956

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

Preview Lab → · Contrast checker → · Palette generator →

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