#7B1946#7B1946

#7B1946 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.5% C 0.137 H 358.0°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#7B1946
RGBrgb(123, 25, 70)
HSLhsl(332, 66%, 29%)
HSVhsv(332, 80%, 48%)
CMYKcmyk(0%, 79.7%, 43.1%, 51.8%)
CIE-LABlab(27.71, 44.63, -2.07)
CIE-LCHlch(27.71, 44.68, 357.34°)
OKLaboklab(39.49% 0.1372 -0.0049)
OKLCHoklch(39.49% 0.137 358)
XYZxyz(9.6222, 5.3497, 6.3191)
Luminance0.0535 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1946 #197B4E
analogous
#7B1977 #7B1946 #7B1D19
triadic
#7B1946 #467B19 #19467B
tetradic
#7B1946 #777B19 #197B4E #1D197B
square
#7B1946 #777B19 #197B4E #1D197B
split-complementary
#7B1946 #197B1D #19777B
monochromatic
#19050E #480F29 #7B1946 #AE2363 #D73881

Accessibility & contrast

On white

10.15
#7B1946 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B1946
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1946#FFFFFF#000000##FFFFFF
##7B19461.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3647
Deuteranopia (green-blind)
#494844
Tritanopia (blue-blind)
#86082D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7b1946;
/* rgb */ color: rgb(123, 25, 70);
/* oklch */ color: oklch(39.5% 0.137 358.0);
Tailwind
colors: {
  custom: {
    50: '#a66179',
    500: '#7b1946',
    950: '#000000',
  },
}
SCSS
$custom: #7b1946;
$custom-light: #a66179;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1946",
  "rgb": {
    "r": 123,
    "g": 25,
    "b": 70
  },
  "hsl": {
    "h": 332.449,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39485,
    "c": 0.13727,
    "h": 358
  },
  "luminance": 0.05348
}

Semantic roles & 50–950 ramp

primary
#7B1946
secondary
#40AF7C
accent
#E99B3F
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7B1946

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

Preview Lab → · Contrast checker → · Palette generator →

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