#7B1841#7B1841

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

Color values

HEX#7B1841
RGBrgb(123, 24, 65)
HSLhsl(335, 67%, 29%)
HSVhsv(335, 80%, 48%)
CMYKcmyk(0%, 80.5%, 47.2%, 51.8%)
CIE-LABlab(27.43, 44.45, 0.88)
CIE-LCHlch(27.43, 44.45, 1.13°)
OKLaboklab(39.22% 0.1365 0.0028)
OKLCHoklch(39.22% 0.136 1.2)
XYZxyz(9.4499, 5.2471, 5.5152)
Luminance0.0525 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1841 #187B52
analogous
#7B1873 #7B1841 #7B2118
triadic
#7B1841 #417B18 #18417B
tetradic
#7B1841 #737B18 #187B52 #21187B
square
#7B1841 #737B18 #187B52 #21187B
split-complementary
#7B1841 #187B21 #18737B
monochromatic
#1A050E #480E26 #7B1841 #AE225C #D83679

Accessibility & contrast

On white

10.25
#7B1841 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B1841
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1841#FFFFFF#000000##FFFFFF
##7B18411.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3542
Deuteranopia (green-blind)
#4A483F
Tritanopia (blue-blind)
#86032A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7b1841;
/* rgb */ color: rgb(123, 24, 65);
/* oklch */ color: oklch(39.2% 0.136 1.2);
Tailwind
colors: {
  custom: {
    50: '#a66075',
    500: '#7b1841',
    950: '#000000',
  },
}
SCSS
$custom: #7b1841;
$custom-light: #a66075;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1841",
  "rgb": {
    "r": 123,
    "g": 24,
    "b": 65
  },
  "hsl": {
    "h": 335.152,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39224,
    "c": 0.13649,
    "h": 1.2
  },
  "luminance": 0.05246
}

Semantic roles & 50–950 ramp

primary
#7B1841
secondary
#3FB081
accent
#EAA33E
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100508
muted
#7F7A7B

Preview Lab

Preview with #7B1841

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

Preview Lab → · Contrast checker → · Palette generator →

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