#7B1C3F#7B1C3F

#7B1C3F is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.5% C 0.132 H 3.4°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#7B1C3F
RGBrgb(123, 28, 63)
HSLhsl(338, 63%, 30%)
HSVhsv(338, 77%, 48%)
CMYKcmyk(0%, 77.2%, 48.8%, 51.8%)
CIE-LABlab(27.85, 42.88, 2.83)
CIE-LCHlch(27.85, 42.98, 3.78°)
OKLaboklab(39.51% 0.1313 0.0077)
OKLCHoklch(39.51% 0.132 3.4)
XYZxyz(9.4816, 5.4016, 5.2450)
Luminance0.0540 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1C3F #1C7B58
analogous
#7B1C6F #7B1C3F #7B291C
triadic
#7B1C3F #3F7B1C #1C3F7B
tetradic
#7B1C3F #6F7B1C #1C7B58 #291C7B
square
#7B1C3F #6F7B1C #1C7B58 #291C7B
split-complementary
#7B1C3F #1C7B29 #1C6F7B
monochromatic
#19060D #491125 #7B1C3F #AD2759 #D33E75

Accessibility & contrast

On white

10.10
#7B1C3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B1C3F
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1C3F#FFFFFF#000000##FFFFFF
##7B1C3F1.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323640
Deuteranopia (green-blind)
#4C483D
Tritanopia (blue-blind)
#86092B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7b1c3f;
/* rgb */ color: rgb(123, 28, 63);
/* oklch */ color: oklch(39.5% 0.132 3.4);
Tailwind
colors: {
  custom: {
    50: '#a66273',
    500: '#7b1c3f',
    950: '#000000',
  },
}
SCSS
$custom: #7b1c3f;
$custom-light: #a66273;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1c3f",
  "rgb": {
    "r": 123,
    "g": 28,
    "b": 63
  },
  "hsl": {
    "h": 337.895,
    "s": 62.914,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39514,
    "c": 0.13156,
    "h": 3.4
  },
  "luminance": 0.054
}

Semantic roles & 50–950 ramp

primary
#7B1C3F
secondary
#44AF87
accent
#E6A942
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100508
muted
#7F7A7B

Preview Lab

Preview with #7B1C3F

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

Preview Lab → · Contrast checker → · Palette generator →

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