#7B1640#7B1640

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

Color values

HEX#7B1640
RGBrgb(123, 22, 64)
HSLhsl(335, 70%, 28%)
HSVhsv(335, 82%, 48%)
CMYKcmyk(0%, 82.1%, 48%, 51.8%)
CIE-LABlab(27.18, 44.97, 1.18)
CIE-LCHlch(27.18, 44.99, 1.51°)
OKLaboklab(39.03% 0.1381 0.0035)
OKLCHoklch(39.03% 0.138 1.5)
XYZxyz(9.3815, 5.1562, 5.3507)
Luminance0.0515 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1640 #167B51
analogous
#7B1672 #7B1640 #7B1F16
triadic
#7B1640 #407B16 #16407B
tetradic
#7B1640 #727B16 #167B51 #1F167B
square
#7B1640 #727B16 #167B51 #1F167B
split-complementary
#7B1640 #167B1F #16727B
monochromatic
#1A050E #470D25 #7B1640 #AF1F5B #DA3177

Accessibility & contrast

On white

10.34
#7B1640 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#7B1640 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1640
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1640#FFFFFF#000000##FFFFFF
##7B16401.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3441
Deuteranopia (green-blind)
#4A473E
Tritanopia (blue-blind)
#860029
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7b1640;
/* rgb */ color: rgb(123, 22, 64);
/* oklch */ color: oklch(39.0% 0.138 1.5);
Tailwind
colors: {
  custom: {
    50: '#a65f74',
    500: '#7b1640',
    950: '#000000',
  },
}
SCSS
$custom: #7b1640;
$custom-light: #a65f74;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1640",
  "rgb": {
    "r": 123,
    "g": 22,
    "b": 64
  },
  "hsl": {
    "h": 335.05,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39029,
    "c": 0.13815,
    "h": 1.5
  },
  "luminance": 0.05155
}

Semantic roles & 50–950 ramp

primary
#7B1640
secondary
#3DB080
accent
#ECA33B
background
#FAF5F7
surface
#F4EAED
border
#CEC6C8
text
#100508
muted
#7F797B

Preview Lab

Preview with #7B1640

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

Preview Lab → · Contrast checker → · Palette generator →

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