#7A1740#7A1740

#7A1740 is a dark, vivid pink. Relative luminance 0.051; OKLCH L 38.9% C 0.136 H 1.3°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#7A1740
RGBrgb(122, 23, 64)
HSLhsl(335, 68%, 28%)
HSVhsv(335, 81%, 48%)
CMYKcmyk(0%, 81.1%, 47.5%, 52.2%)
CIE-LABlab(27.08, 44.37, 1.02)
CIE-LCHlch(27.08, 44.39, 1.31°)
OKLaboklab(38.92% 0.1363 0.0031)
OKLCHoklch(38.92% 0.136 1.3)
XYZxyz(9.2586, 5.1218, 5.3506)
Luminance0.0512 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1740 #177A51
analogous
#7A1771 #7A1740 #7A2017
triadic
#7A1740 #407A17 #17407A
tetradic
#7A1740 #717A17 #177A51 #20177A
square
#7A1740 #717A17 #177A51 #20177A
split-complementary
#7A1740 #177A20 #17717A
monochromatic
#1A050E #470D25 #7A1740 #AD215B #D93377

Accessibility & contrast

On white

10.37
#7A1740 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#7A1740 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1740
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1740#FFFFFF#000000##FFFFFF
##7A17401.0010.372.0210.37
#FFFFFF10.371.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3441
Deuteranopia (green-blind)
#49473E
Tritanopia (blue-blind)
#850129
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7a1740;
/* rgb */ color: rgb(122, 23, 64);
/* oklch */ color: oklch(38.9% 0.136 1.3);
Tailwind
colors: {
  custom: {
    50: '#a55f74',
    500: '#7a1740',
    950: '#000000',
  },
}
SCSS
$custom: #7a1740;
$custom-light: #a55f74;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1740",
  "rgb": {
    "r": 122,
    "g": 23,
    "b": 64
  },
  "hsl": {
    "h": 335.152,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38921,
    "c": 0.13629,
    "h": 1.3
  },
  "luminance": 0.05121
}

Semantic roles & 50–950 ramp

primary
#7A1740
secondary
#3EAF80
accent
#EBA33D
background
#FAF5F7
surface
#F4EAED
border
#CEC6C8
text
#100508
muted
#7F797B

Preview Lab

Preview with #7A1740

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

Preview Lab → · Contrast checker → · Palette generator →

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