#7B1E4F#7B1E4F

#7B1E4F is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.3% C 0.136 H 352.7°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#7B1E4F
RGBrgb(123, 30, 79)
HSLhsl(328, 61%, 30%)
HSVhsv(328, 76%, 48%)
CMYKcmyk(0%, 75.6%, 35.8%, 51.8%)
CIE-LABlab(28.66, 43.91, -6.66)
CIE-LCHlch(28.66, 44.41, 351.37°)
OKLaboklab(40.29% 0.1345 -0.0171)
OKLCHoklch(40.29% 0.136 352.7)
XYZxyz(10.0445, 5.7052, 7.9679)
Luminance0.0570 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1E4F #1E7B4A
analogous
#781E7B #7B1E4F #7B1E21
triadic
#7B1E4F #4F7B1E #1E4F7B
tetradic
#7B1E4F #7B781E #1E7B4A #1E217B
square
#7B1E4F #7B781E #1E7B4A #1E217B
split-complementary
#7B1E4F #217B1E #1E7B78
monochromatic
#190610 #4A122F #7B1E4F #AC2A6F #D1428E

Accessibility & contrast

On white

9.81
#7B1E4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7B1E4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1E4F
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1E4F#FFFFFF#000000##FFFFFF
##7B1E4F1.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3950
Deuteranopia (green-blind)
#494A4D
Tritanopia (blue-blind)
#851633
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7b1e4f;
/* rgb */ color: rgb(123, 30, 79);
/* oklch */ color: oklch(40.3% 0.136 352.7);
Tailwind
colors: {
  custom: {
    50: '#a56380',
    500: '#7b1e4f',
    950: '#000000',
  },
}
SCSS
$custom: #7b1e4f;
$custom-light: #a56380;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1e4f",
  "rgb": {
    "r": 123,
    "g": 30,
    "b": 79
  },
  "hsl": {
    "h": 328.387,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.40286,
    "c": 0.13557,
    "h": 352.7
  },
  "luminance": 0.05704
}

Semantic roles & 50–950 ramp

primary
#7B1E4F
secondary
#46AE78
accent
#E49044
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7B1E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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