#7B1C38#7B1C38

#7B1C38 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.3% C 0.130 H 8.2°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#7B1C38
RGBrgb(123, 28, 56)
HSLhsl(342, 63%, 30%)
HSVhsv(342, 77%, 48%)
CMYKcmyk(0%, 77.2%, 54.5%, 51.8%)
CIE-LABlab(27.65, 42.24, 7.26)
CIE-LCHlch(27.65, 42.86, 9.75°)
OKLaboklab(39.3% 0.1286 0.0186)
OKLCHoklch(39.3% 0.13 8.2)
XYZxyz(9.2983, 5.3283, 4.2794)
Luminance0.0533 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1C38 #1C7B5F
analogous
#7B1C68 #7B1C38 #7B301C
triadic
#7B1C38 #387B1C #1C387B
tetradic
#7B1C38 #687B1C #1C7B5F #301C7B
square
#7B1C38 #687B1C #1C7B5F #301C7B
split-complementary
#7B1C38 #1C7B30 #1C687B
monochromatic
#19060B #491121 #7B1C38 #AD274F #D33E6A

Accessibility & contrast

On white

10.17
#7B1C38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#7B1C38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1C38
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1C38#FFFFFF#000000##FFFFFF
##7B1C381.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343539
Deuteranopia (green-blind)
#4D4836
Tritanopia (blue-blind)
#870428
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7b1c38;
/* rgb */ color: rgb(123, 28, 56);
/* oklch */ color: oklch(39.3% 0.130 8.2);
Tailwind
colors: {
  custom: {
    50: '#a6616e',
    500: '#7b1c38',
    950: '#000000',
  },
}
SCSS
$custom: #7b1c38;
$custom-light: #a6616e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1c38",
  "rgb": {
    "r": 123,
    "g": 28,
    "b": 56
  },
  "hsl": {
    "h": 342.316,
    "s": 62.914,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39302,
    "c": 0.12989,
    "h": 8.2
  },
  "luminance": 0.05327
}

Semantic roles & 50–950 ramp

primary
#7B1C38
secondary
#44AF8F
accent
#E6B642
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100507
muted
#7F7A7A

Preview Lab

Preview with #7B1C38

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

Preview Lab → · Contrast checker → · Palette generator →

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