#7B1A45#7B1A45

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

Color values

HEX#7B1A45
RGBrgb(123, 26, 69)
HSLhsl(333, 65%, 29%)
HSVhsv(333, 79%, 48%)
CMYKcmyk(0%, 78.9%, 43.9%, 51.8%)
CIE-LABlab(27.79, 44.19, -1.28)
CIE-LCHlch(27.79, 44.21, 358.34°)
OKLaboklab(39.53% 0.1358 -0.0028)
OKLCHoklch(39.53% 0.136 358.8)
XYZxyz(9.6127, 5.3807, 6.1614)
Luminance0.0538 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1A45 #1A7B50
analogous
#7B1A76 #7B1A45 #7B201A
triadic
#7B1A45 #457B1A #1A457B
tetradic
#7B1A45 #767B1A #1A7B50 #201A7B
square
#7B1A45 #767B1A #1A7B50 #201A7B
split-complementary
#7B1A45 #1A7B20 #1A767B
monochromatic
#19050E #480F29 #7B1A45 #AE2561 #D53A7F

Accessibility & contrast

On white

10.12
#7B1A45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B1A45
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1A45#FFFFFF#000000##FFFFFF
##7B1A451.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3646
Deuteranopia (green-blind)
#4A4843
Tritanopia (blue-blind)
#86092D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7b1a45;
/* rgb */ color: rgb(123, 26, 69);
/* oklch */ color: oklch(39.5% 0.136 358.8);
Tailwind
colors: {
  custom: {
    50: '#a66178',
    500: '#7b1a45',
    950: '#000000',
  },
}
SCSS
$custom: #7b1a45;
$custom-light: #a66178;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1a45",
  "rgb": {
    "r": 123,
    "g": 26,
    "b": 69
  },
  "hsl": {
    "h": 333.402,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.39535,
    "c": 0.1358,
    "h": 358.8
  },
  "luminance": 0.05379
}

Semantic roles & 50–950 ramp

primary
#7B1A45
secondary
#42AF7F
accent
#E89D40
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7B1A45

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

Preview Lab → · Contrast checker → · Palette generator →

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