#7B1742#7B1742

#7B1742 is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.2% C 0.138 H 0.3°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#7B1742
RGBrgb(123, 23, 66)
HSLhsl(334, 68%, 29%)
HSVhsv(334, 81%, 48%)
CMYKcmyk(0%, 81.3%, 46.3%, 51.8%)
CIE-LABlab(27.35, 44.86, 0.09)
CIE-LCHlch(27.35, 44.86, 0.11°)
OKLaboklab(39.18% 0.1378 0.0007)
OKLCHoklch(39.18% 0.138 0.3)
XYZxyz(9.4589, 5.2184, 5.6624)
Luminance0.0522 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1742 #177B50
analogous
#7B1774 #7B1742 #7B1E17
triadic
#7B1742 #427B17 #17427B
tetradic
#7B1742 #747B17 #177B50 #1E177B
square
#7B1742 #747B17 #177B50 #1E177B
split-complementary
#7B1742 #177B1E #17747B
monochromatic
#1A050E #470D26 #7B1742 #AF215E #D9337B

Accessibility & contrast

On white

10.28
#7B1742 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#7B1742 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1742
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1742#FFFFFF#000000##FFFFFF
##7B17421.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3443
Deuteranopia (green-blind)
#4A4740
Tritanopia (blue-blind)
#86022A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7b1742;
/* rgb */ color: rgb(123, 23, 66);
/* oklch */ color: oklch(39.2% 0.138 0.3);
Tailwind
colors: {
  custom: {
    50: '#a66076',
    500: '#7b1742',
    950: '#000000',
  },
}
SCSS
$custom: #7b1742;
$custom-light: #a66076;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1742",
  "rgb": {
    "r": 123,
    "g": 23,
    "b": 66
  },
  "hsl": {
    "h": 334.2,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39177,
    "c": 0.13784,
    "h": 0.3
  },
  "luminance": 0.05217
}

Semantic roles & 50–950 ramp

primary
#7B1742
secondary
#3EB07F
accent
#EBA03C
background
#FAF5F7
surface
#F4EAED
border
#CEC6C8
text
#100508
muted
#7F797B

Preview Lab

Preview with #7B1742

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

Preview Lab → · Contrast checker → · Palette generator →

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