#7A1741#7A1741

#7A1741 is a dark, vivid pink. Relative luminance 0.051; OKLCH L 39.0% C 0.137 H 0.6°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#7A1741
RGBrgb(122, 23, 65)
HSLhsl(335, 68%, 28%)
HSVhsv(335, 81%, 48%)
CMYKcmyk(0%, 81.1%, 46.7%, 52.2%)
CIE-LABlab(27.11, 44.47, 0.39)
CIE-LCHlch(27.11, 44.47, 0.50°)
OKLaboklab(38.96% 0.1366 0.0015)
OKLCHoklch(38.96% 0.137 0.6)
XYZxyz(9.2873, 5.1333, 5.5018)
Luminance0.0513 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1741 #177A50
analogous
#7A1772 #7A1741 #7A1E17
triadic
#7A1741 #417A17 #17417A
tetradic
#7A1741 #727A17 #177A50 #1E177A
square
#7A1741 #727A17 #177A50 #1E177A
split-complementary
#7A1741 #177A1E #17727A
monochromatic
#1A050E #470D26 #7A1741 #AD215C #D93379

Accessibility & contrast

On white

10.36
#7A1741 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1741
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1741#FFFFFF#000000##FFFFFF
##7A17411.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a1741;
/* rgb */ color: rgb(122, 23, 65);
/* oklch */ color: oklch(39.0% 0.137 0.6);
Tailwind
colors: {
  custom: {
    50: '#a55f75',
    500: '#7a1741',
    950: '#000000',
  },
}
SCSS
$custom: #7a1741;
$custom-light: #a55f75;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1741",
  "rgb": {
    "r": 122,
    "g": 23,
    "b": 65
  },
  "hsl": {
    "h": 334.545,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38955,
    "c": 0.13662,
    "h": 0.6
  },
  "luminance": 0.05132
}

Semantic roles & 50–950 ramp

primary
#7A1741
secondary
#3EAF7F
accent
#EBA13D
background
#FAF5F7
surface
#F4EAED
border
#CEC6C8
text
#100508
muted
#7F797B

Preview Lab

Preview with #7A1741

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

Preview Lab → · Contrast checker → · Palette generator →

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