#7A1742#7A1742

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

Color values

HEX#7A1742
RGBrgb(122, 23, 66)
HSLhsl(334, 68%, 28%)
HSVhsv(334, 81%, 48%)
CMYKcmyk(0%, 81.1%, 45.9%, 52.2%)
CIE-LABlab(27.14, 44.57, -0.24)
CIE-LCHlch(27.14, 44.57, 359.70°)
OKLaboklab(38.99% 0.137 -0.0001)
OKLCHoklch(38.99% 0.137 0)
XYZxyz(9.3165, 5.1450, 5.6557)
Luminance0.0514 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1742 #177A4F
analogous
#7A1773 #7A1742 #7A1D17
triadic
#7A1742 #427A17 #17427A
tetradic
#7A1742 #737A17 #177A4F #1D177A
square
#7A1742 #737A17 #177A4F #1D177A
split-complementary
#7A1742 #177A1D #17737A
monochromatic
#1A050E #470D26 #7A1742 #AD215E #D9337B

Accessibility & contrast

On white

10.35
#7A1742 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1742
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1742#FFFFFF#000000##FFFFFF
##7A17421.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3443
Deuteranopia (green-blind)
#494740
Tritanopia (blue-blind)
#85022A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7a1742;
/* rgb */ color: rgb(122, 23, 66);
/* oklch */ color: oklch(39.0% 0.137 360.0);
Tailwind
colors: {
  custom: {
    50: '#a55f76',
    500: '#7a1742',
    950: '#000000',
  },
}
SCSS
$custom: #7a1742;
$custom-light: #a55f76;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1742",
  "rgb": {
    "r": 122,
    "g": 23,
    "b": 66
  },
  "hsl": {
    "h": 333.939,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.3899,
    "c": 0.13697,
    "h": 360
  },
  "luminance": 0.05144
}

Semantic roles & 50–950 ramp

primary
#7A1742
secondary
#3EAF7E
accent
#EB9F3D
background
#FAF5F7
surface
#F4EAED
border
#CEC6C8
text
#100508
muted
#7F797B

Preview Lab

Preview with #7A1742

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

Preview Lab → · Contrast checker → · Palette generator →

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