#7A1842#7A1842

#7A1842 is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.1% C 0.136 H 0.1°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#7A1842
RGBrgb(122, 24, 66)
HSLhsl(334, 67%, 29%)
HSVhsv(334, 80%, 48%)
CMYKcmyk(0%, 80.3%, 45.9%, 52.2%)
CIE-LABlab(27.26, 44.25, -0.07)
CIE-LCHlch(27.26, 44.25, 359.91°)
OKLaboklab(39.07% 0.1359 0.0003)
OKLCHoklch(39.07% 0.136 0.1)
XYZxyz(9.3368, 5.1854, 5.6624)
Luminance0.0518 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1842 #187A50
analogous
#7A1873 #7A1842 #7A1F18
triadic
#7A1842 #427A18 #18427A
tetradic
#7A1842 #737A18 #187A50 #1F187A
square
#7A1842 #737A18 #187A50 #1F187A
split-complementary
#7A1842 #187A1F #18737A
monochromatic
#1A050E #470E26 #7A1842 #AD225E #D7357B

Accessibility & contrast

On white

10.31
#7A1842 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#7A1842 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1842
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1842#FFFFFF#000000##FFFFFF
##7A18421.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3443
Deuteranopia (green-blind)
#494740
Tritanopia (blue-blind)
#85042B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7a1842;
/* rgb */ color: rgb(122, 24, 66);
/* oklch */ color: oklch(39.1% 0.136 0.1);
Tailwind
colors: {
  custom: {
    50: '#a56076',
    500: '#7a1842',
    950: '#000000',
  },
}
SCSS
$custom: #7a1842;
$custom-light: #a56076;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1842",
  "rgb": {
    "r": 122,
    "g": 24,
    "b": 66
  },
  "hsl": {
    "h": 334.286,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39073,
    "c": 0.13594,
    "h": 0.1
  },
  "luminance": 0.05184
}

Semantic roles & 50–950 ramp

primary
#7A1842
secondary
#3FAF7F
accent
#EAA03E
background
#FAF5F7
surface
#F4EAED
border
#CEC6C8
text
#100508
muted
#7F797B

Preview Lab

Preview with #7A1842

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

Preview Lab → · Contrast checker → · Palette generator →

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