#7B1A38#7B1A38

#7B1A38 is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.1% C 0.132 H 7.7°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#7B1A38
RGBrgb(123, 26, 56)
HSLhsl(341, 65%, 29%)
HSVhsv(341, 79%, 48%)
CMYKcmyk(0%, 78.9%, 54.5%, 51.8%)
CIE-LABlab(27.40, 42.95, 6.91)
CIE-LCHlch(27.40, 43.50, 9.14°)
OKLaboklab(39.12% 0.1308 0.0178)
OKLCHoklch(39.12% 0.132 7.7)
XYZxyz(9.2524, 5.2366, 4.2642)
Luminance0.0524 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1A38 #1A7B5D
analogous
#7B1A69 #7B1A38 #7B2C1A
triadic
#7B1A38 #387B1A #1A387B
tetradic
#7B1A38 #697B1A #1A7B5D #2C1A7B
square
#7B1A38 #697B1A #1A7B5D #2C1A7B
split-complementary
#7B1A38 #1A7B2C #1A697B
monochromatic
#19050C #480F21 #7B1A38 #AE254F #D53A6A

Accessibility & contrast

On white

10.26
#7B1A38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#7B1A38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1A38
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1A38#FFFFFF#000000##FFFFFF
##7B1A381.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333439
Deuteranopia (green-blind)
#4C4836
Tritanopia (blue-blind)
#870027
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7b1a38;
/* rgb */ color: rgb(123, 26, 56);
/* oklch */ color: oklch(39.1% 0.132 7.7);
Tailwind
colors: {
  custom: {
    50: '#a7606e',
    500: '#7b1a38',
    950: '#000000',
  },
}
SCSS
$custom: #7b1a38;
$custom-light: #a7606e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1a38",
  "rgb": {
    "r": 123,
    "g": 26,
    "b": 56
  },
  "hsl": {
    "h": 341.443,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39116,
    "c": 0.13202,
    "h": 7.7
  },
  "luminance": 0.05235
}

Semantic roles & 50–950 ramp

primary
#7B1A38
secondary
#42AF8D
accent
#E8B440
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100507
muted
#7F7A7A

Preview Lab

Preview with #7B1A38

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

Preview Lab → · Contrast checker → · Palette generator →

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