#7A1638#7A1638

#7A1638 is a dark, vivid pink. Relative luminance 0.050; OKLCH L 38.6% C 0.135 H 6.5°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#7A1638
RGBrgb(122, 22, 56)
HSLhsl(340, 69%, 28%)
HSVhsv(340, 82%, 48%)
CMYKcmyk(0%, 82%, 54.1%, 52.2%)
CIE-LABlab(26.73, 43.95, 5.94)
CIE-LCHlch(26.73, 44.35, 7.69°)
OKLaboklab(38.59% 0.1342 0.0154)
OKLCHoklch(38.59% 0.135 6.5)
XYZxyz(9.0276, 4.9982, 4.2300)
Luminance0.0500 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1638 #167A58
analogous
#7A166A #7A1638 #7A2616
triadic
#7A1638 #387A16 #16387A
tetradic
#7A1638 #6A7A16 #167A58 #26167A
square
#7A1638 #6A7A16 #167A58 #26167A
split-complementary
#7A1638 #167A26 #166A7A
monochromatic
#1A050C #460D20 #7A1638 #AE1F50 #DA316A

Accessibility & contrast

On white

10.50
#7A1638 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#7A1638 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1638
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1638#FFFFFF#000000##FFFFFF
##7A16381.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303339
Deuteranopia (green-blind)
#4A4636
Tritanopia (blue-blind)
#860025
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7a1638;
/* rgb */ color: rgb(122, 22, 56);
/* oklch */ color: oklch(38.6% 0.135 6.5);
Tailwind
colors: {
  custom: {
    50: '#a65f6e',
    500: '#7a1638',
    950: '#000000',
  },
}
SCSS
$custom: #7a1638;
$custom-light: #a65f6e;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1638",
  "rgb": {
    "r": 122,
    "g": 22,
    "b": 56
  },
  "hsl": {
    "h": 339.6,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38586,
    "c": 0.13505,
    "h": 6.5
  },
  "luminance": 0.04997
}

Semantic roles & 50–950 ramp

primary
#7A1638
secondary
#3DAF88
accent
#ECB03C
background
#FAF5F6
surface
#F4EAEB
border
#CEC6C6
text
#100507
muted
#7F797A

Preview Lab

Preview with #7A1638

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

Preview Lab → · Contrast checker → · Palette generator →

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