#7A1841#7A1841

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

Color values

HEX#7A1841
RGBrgb(122, 24, 65)
HSLhsl(335, 67%, 29%)
HSVhsv(335, 80%, 48%)
CMYKcmyk(0%, 80.3%, 46.7%, 52.2%)
CIE-LABlab(27.22, 44.15, 0.55)
CIE-LCHlch(27.22, 44.16, 0.72°)
OKLaboklab(39.04% 0.1356 0.0019)
OKLCHoklch(39.04% 0.136 0.8)
XYZxyz(9.3076, 5.1737, 5.5085)
Luminance0.0517 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1841 #187A51
analogous
#7A1872 #7A1841 #7A2018
triadic
#7A1841 #417A18 #18417A
tetradic
#7A1841 #727A18 #187A51 #20187A
square
#7A1841 #727A18 #187A51 #20187A
split-complementary
#7A1841 #187A20 #18727A
monochromatic
#1A050E #470E26 #7A1841 #AD225C #D73579

Accessibility & contrast

On white

10.32
#7A1841 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1841
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1841#FFFFFF#000000##FFFFFF
##7A18411.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3442
Deuteranopia (green-blind)
#49473F
Tritanopia (blue-blind)
#85032A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7a1841;
/* rgb */ color: rgb(122, 24, 65);
/* oklch */ color: oklch(39.0% 0.136 0.8);
Tailwind
colors: {
  custom: {
    50: '#a56075',
    500: '#7a1841',
    950: '#000000',
  },
}
SCSS
$custom: #7a1841;
$custom-light: #a56075;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1841",
  "rgb": {
    "r": 122,
    "g": 24,
    "b": 65
  },
  "hsl": {
    "h": 334.898,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39038,
    "c": 0.13559,
    "h": 0.8
  },
  "luminance": 0.05172
}

Semantic roles & 50–950 ramp

primary
#7A1841
secondary
#3FAF80
accent
#EAA23E
background
#FAF5F7
surface
#F4EAED
border
#CEC6C8
text
#100508
muted
#7F797B

Preview Lab

Preview with #7A1841

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

Preview Lab → · Contrast checker → · Palette generator →

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