#7A1640#7A1640

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

Color values

HEX#7A1640
RGBrgb(122, 22, 64)
HSLhsl(335, 69%, 28%)
HSVhsv(335, 82%, 48%)
CMYKcmyk(0%, 82%, 47.5%, 52.2%)
CIE-LABlab(26.97, 44.68, 0.86)
CIE-LCHlch(26.97, 44.69, 1.10°)
OKLaboklab(38.84% 0.1373 0.0027)
OKLCHoklch(38.84% 0.137 1.1)
XYZxyz(9.2391, 5.0828, 5.3441)
Luminance0.0508 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1640 #167A50
analogous
#7A1672 #7A1640 #7A1E16
triadic
#7A1640 #407A16 #16407A
tetradic
#7A1640 #727A16 #167A50 #1E167A
square
#7A1640 #727A16 #167A50 #1E167A
split-complementary
#7A1640 #167A1E #16727A
monochromatic
#1A050E #460D25 #7A1640 #AE1F5B #DA3178

Accessibility & contrast

On white

10.41
#7A1640 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1640
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1640#FFFFFF#000000##FFFFFF
##7A16401.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a1640;
/* rgb */ color: rgb(122, 22, 64);
/* oklch */ color: oklch(38.8% 0.137 1.1);
Tailwind
colors: {
  custom: {
    50: '#a55f74',
    500: '#7a1640',
    950: '#000000',
  },
}
SCSS
$custom: #7a1640;
$custom-light: #a55f74;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1640",
  "rgb": {
    "r": 122,
    "g": 22,
    "b": 64
  },
  "hsl": {
    "h": 334.8,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38841,
    "c": 0.13728,
    "h": 1.1
  },
  "luminance": 0.05082
}

Semantic roles & 50–950 ramp

primary
#7A1640
secondary
#3DAF7F
accent
#ECA23C
background
#FAF5F7
surface
#F4EAED
border
#CEC6C8
text
#100508
muted
#7F797B

Preview Lab

Preview with #7A1640

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

Preview Lab → · Contrast checker → · Palette generator →

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