#7A1939#7A1939

#7A1939 is a dark, vivid pink. Relative luminance 0.051; OKLCH L 38.9% C 0.132 H 6.5°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#7A1939
RGBrgb(122, 25, 57)
HSLhsl(340, 66%, 29%)
HSVhsv(340, 80%, 48%)
CMYKcmyk(0%, 79.5%, 53.3%, 52.2%)
CIE-LABlab(27.10, 43.07, 5.78)
CIE-LCHlch(27.10, 43.45, 7.65°)
OKLaboklab(38.87% 0.1315 0.015)
OKLCHoklch(38.87% 0.132 6.5)
XYZxyz(9.1130, 5.1295, 4.3803)
Luminance0.0513 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1939 #197A5A
analogous
#7A196A #7A1939 #7A2A19
triadic
#7A1939 #397A19 #19397A
tetradic
#7A1939 #6A7A19 #197A5A #2A197A
square
#7A1939 #6A7A19 #197A5A #2A197A
split-complementary
#7A1939 #197A2A #196A7A
monochromatic
#19050C #470F21 #7A1939 #AD2351 #D6376C

Accessibility & contrast

On white

10.37
#7A1939 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1939
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1939#FFFFFF#000000##FFFFFF
##7A19391.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32343A
Deuteranopia (green-blind)
#4B4737
Tritanopia (blue-blind)
#850027
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7a1939;
/* rgb */ color: rgb(122, 25, 57);
/* oklch */ color: oklch(38.9% 0.132 6.5);
Tailwind
colors: {
  custom: {
    50: '#a6606f',
    500: '#7a1939',
    950: '#000000',
  },
}
SCSS
$custom: #7a1939;
$custom-light: #a6606f;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1939",
  "rgb": {
    "r": 122,
    "g": 25,
    "b": 57
  },
  "hsl": {
    "h": 340.206,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38869,
    "c": 0.13231,
    "h": 6.5
  },
  "luminance": 0.05128
}

Semantic roles & 50–950 ramp

primary
#7A1939
secondary
#40AF8A
accent
#E9B13F
background
#FAF5F6
surface
#F4EAEC
border
#CEC6C7
text
#100507
muted
#7F797A

Preview Lab

Preview with #7A1939

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

Preview Lab → · Contrast checker → · Palette generator →

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