#7B1F40#7B1F40

#7B1F40 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 39.8% C 0.128 H 3.4°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#7B1F40
RGBrgb(123, 31, 64)
HSLhsl(338, 60%, 30%)
HSVhsv(338, 75%, 48%)
CMYKcmyk(0%, 74.8%, 48%, 51.8%)
CIE-LABlab(28.28, 41.86, 2.78)
CIE-LCHlch(28.28, 41.96, 3.80°)
OKLaboklab(39.84% 0.1281 0.0076)
OKLCHoklch(39.84% 0.128 3.4)
XYZxyz(9.5845, 5.5623, 5.4184)
Luminance0.0556 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1F40 #1F7B5A
analogous
#7B1F6E #7B1F40 #7B2C1F
triadic
#7B1F40 #407B1F #1F407B
tetradic
#7B1F40 #6E7B1F #1F7B5A #2C1F7B
square
#7B1F40 #6E7B1F #1F7B5A #2C1F7B
split-complementary
#7B1F40 #1F7B2C #1F6E7B
monochromatic
#19060D #4A1327 #7B1F40 #AC2B59 #D04476

Accessibility & contrast

On white

9.94
#7B1F40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B1F40
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1F40#FFFFFF#000000##FFFFFF
##7B1F401.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343741
Deuteranopia (green-blind)
#4C493E
Tritanopia (blue-blind)
#860F2D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7b1f40;
/* rgb */ color: rgb(123, 31, 64);
/* oklch */ color: oklch(39.8% 0.128 3.4);
Tailwind
colors: {
  custom: {
    50: '#a66374',
    500: '#7b1f40',
    950: '#000000',
  },
}
SCSS
$custom: #7b1f40;
$custom-light: #a66374;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1f40",
  "rgb": {
    "r": 123,
    "g": 31,
    "b": 64
  },
  "hsl": {
    "h": 338.478,
    "s": 59.74,
    "l": 30.196
  },
  "oklch": {
    "l": 0.39842,
    "c": 0.12834,
    "h": 3.4
  },
  "luminance": 0.05561
}

Semantic roles & 50–950 ramp

primary
#7B1F40
secondary
#48AE89
accent
#E3AA45
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #7B1F40

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

Preview Lab → · Contrast checker → · Palette generator →

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