#7A1839#7A1839

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

Color values

HEX#7A1839
RGBrgb(122, 24, 57)
HSLhsl(340, 67%, 29%)
HSVhsv(340, 80%, 48%)
CMYKcmyk(0%, 80.3%, 53.3%, 52.2%)
CIE-LABlab(26.98, 43.40, 5.61)
CIE-LCHlch(26.98, 43.76, 7.37°)
OKLaboklab(38.78% 0.1325 0.0146)
OKLCHoklch(38.78% 0.133 6.3)
XYZxyz(9.0920, 5.0875, 4.3733)
Luminance0.0509 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1839 #187A59
analogous
#7A186A #7A1839 #7A2818
triadic
#7A1839 #397A18 #18397A
tetradic
#7A1839 #6A7A18 #187A59 #28187A
square
#7A1839 #6A7A18 #187A59 #28187A
split-complementary
#7A1839 #187A28 #186A7A
monochromatic
#1A050C #470E21 #7A1839 #AD2251 #D7356C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A1839#FFFFFF#000000##FFFFFF
##7A18391.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)
#31333A
Deuteranopia (green-blind)
#4B4737
Tritanopia (blue-blind)
#850026
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7a1839;
/* rgb */ color: rgb(122, 24, 57);
/* oklch */ color: oklch(38.8% 0.133 6.3);
Tailwind
colors: {
  custom: {
    50: '#a6606f',
    500: '#7a1839',
    950: '#000000',
  },
}
SCSS
$custom: #7a1839;
$custom-light: #a6606f;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1839",
  "rgb": {
    "r": 122,
    "g": 24,
    "b": 57
  },
  "hsl": {
    "h": 339.796,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.38782,
    "c": 0.13332,
    "h": 6.3
  },
  "luminance": 0.05086
}

Semantic roles & 50–950 ramp

primary
#7A1839
secondary
#3FAF89
accent
#EAB03E
background
#FAF5F6
surface
#F4EAEC
border
#CEC6C7
text
#100507
muted
#7F797A

Preview Lab

Preview with #7A1839

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

Preview Lab → · Contrast checker → · Palette generator →

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