#7B1F41#7B1F41

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

Color values

HEX#7B1F41
RGBrgb(123, 31, 65)
HSLhsl(338, 60%, 30%)
HSVhsv(338, 75%, 48%)
CMYKcmyk(0%, 74.8%, 47.2%, 51.8%)
CIE-LABlab(28.31, 41.97, 2.16)
CIE-LCHlch(28.31, 42.02, 2.94°)
OKLaboklab(39.87% 0.1285 0.006)
OKLCHoklch(39.87% 0.129 2.7)
XYZxyz(9.6133, 5.5738, 5.5696)
Luminance0.0557 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1F41 #1F7B59
analogous
#7B1F6F #7B1F41 #7B2B1F
triadic
#7B1F41 #417B1F #1F417B
tetradic
#7B1F41 #6F7B1F #1F7B59 #2B1F7B
square
#7B1F41 #6F7B1F #1F7B59 #2B1F7B
split-complementary
#7B1F41 #1F7B2B #1F6F7B
monochromatic
#19060D #4A1327 #7B1F41 #AC2B5B #D04478

Accessibility & contrast

On white

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

On black

2.11
#7B1F41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7B1F41#FFFFFF#000000##FFFFFF
##7B1F411.009.932.119.93
#FFFFFF9.931.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343742
Deuteranopia (green-blind)
#4C493F
Tritanopia (blue-blind)
#86102D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7b1f41;
/* rgb */ color: rgb(123, 31, 65);
/* oklch */ color: oklch(39.9% 0.129 2.7);
Tailwind
colors: {
  custom: {
    50: '#a66375',
    500: '#7b1f41',
    950: '#000000',
  },
}
SCSS
$custom: #7b1f41;
$custom-light: #a66375;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1f41",
  "rgb": {
    "r": 123,
    "g": 31,
    "b": 65
  },
  "hsl": {
    "h": 337.826,
    "s": 59.74,
    "l": 30.196
  },
  "oklch": {
    "l": 0.39874,
    "c": 0.12865,
    "h": 2.7
  },
  "luminance": 0.05573
}

Semantic roles & 50–950 ramp

primary
#7B1F41
secondary
#48AE88
accent
#E3A945
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #7B1F41

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

Preview Lab → · Contrast checker → · Palette generator →

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