#7B1951#7B1951

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

Color values

HEX#7B1951
RGBrgb(123, 25, 81)
HSLhsl(326, 66%, 29%)
HSVhsv(326, 80%, 48%)
CMYKcmyk(0%, 79.7%, 34.1%, 51.8%)
CIE-LABlab(28.12, 45.89, -8.80)
CIE-LCHlch(28.12, 46.73, 349.15°)
OKLaboklab(39.92% 0.1406 -0.0229)
OKLCHoklch(39.92% 0.142 350.8)
XYZxyz(10.0018, 5.5015, 8.3182)
Luminance0.0550 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1951 #197B43
analogous
#74197B #7B1951 #7B1920
triadic
#7B1951 #517B19 #19517B
tetradic
#7B1951 #7B7419 #197B43 #19207B
square
#7B1951 #7B7419 #197B43 #19207B
split-complementary
#7B1951 #207B19 #197B74
monochromatic
#190511 #480F30 #7B1951 #AE2372 #D73893

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7B1951#FFFFFF#000000##FFFFFF
##7B19511.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)
#2A3752
Deuteranopia (green-blind)
#47494F
Tritanopia (blue-blind)
#851133
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7b1951;
/* rgb */ color: rgb(123, 25, 81);
/* oklch */ color: oklch(39.9% 0.142 350.8);
Tailwind
colors: {
  custom: {
    50: '#a56181',
    500: '#7b1951',
    950: '#000000',
  },
}
SCSS
$custom: #7b1951;
$custom-light: #a56181;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1951",
  "rgb": {
    "r": 123,
    "g": 25,
    "b": 81
  },
  "hsl": {
    "h": 325.714,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39918,
    "c": 0.1424,
    "h": 350.8
  },
  "luminance": 0.055
}

Semantic roles & 50–950 ramp

primary
#7B1951
secondary
#40AF70
accent
#E9883F
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7B1951

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

Preview Lab → · Contrast checker → · Palette generator →

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