#7B1751#7B1751

#7B1751 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.8% C 0.145 H 350.5°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).

Color values

HEX#7B1751
RGBrgb(123, 23, 81)
HSLhsl(325, 68%, 29%)
HSVhsv(325, 81%, 48%)
CMYKcmyk(0%, 81.3%, 34.1%, 51.8%)
CIE-LABlab(27.90, 46.52, -9.13)
CIE-LCHlch(27.90, 47.41, 348.89°)
OKLaboklab(39.76% 0.1425 -0.0238)
OKLCHoklch(39.76% 0.145 350.5)
XYZxyz(9.9606, 5.4190, 8.3044)
Luminance0.0542 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1751 #177B41
analogous
#73177B #7B1751 #7B171F
triadic
#7B1751 #517B17 #17517B
tetradic
#7B1751 #7B7317 #177B41 #171F7B
square
#7B1751 #7B7317 #177B41 #171F7B
split-complementary
#7B1751 #1F7B17 #177B73
monochromatic
#1A0511 #470D2F #7B1751 #AF2173 #D93393

Accessibility & contrast

On white

10.08
#7B1751 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#7B1751 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1751
10.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1751#FFFFFF#000000##FFFFFF
##7B17511.0010.082.0810.08
#FFFFFF10.081.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293752
Deuteranopia (green-blind)
#46484F
Tritanopia (blue-blind)
#850F32
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7b1751;
/* rgb */ color: rgb(123, 23, 81);
/* oklch */ color: oklch(39.8% 0.145 350.5);
Tailwind
colors: {
  custom: {
    50: '#a56081',
    500: '#7b1751',
    950: '#000000',
  },
}
SCSS
$custom: #7b1751;
$custom-light: #a56081;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1751",
  "rgb": {
    "r": 123,
    "g": 23,
    "b": 81
  },
  "hsl": {
    "h": 325.2,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39757,
    "c": 0.14451,
    "h": 350.5
  },
  "luminance": 0.05418
}

Semantic roles & 50–950 ramp

primary
#7B1751
secondary
#3EB06E
accent
#EB863C
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7B1751

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

Preview Lab → · Contrast checker → · Palette generator →

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