#7A1936#7A1936

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

Color values

HEX#7A1936
RGBrgb(122, 25, 54)
HSLhsl(342, 66%, 29%)
HSVhsv(342, 80%, 48%)
CMYKcmyk(0%, 79.5%, 55.7%, 52.2%)
CIE-LABlab(27.02, 42.81, 7.70)
CIE-LCHlch(27.02, 43.50, 10.19°)
OKLaboklab(38.78% 0.1302 0.0197)
OKLCHoklch(38.78% 0.132 8.6)
XYZxyz(9.0404, 5.1005, 3.9978)
Luminance0.0510 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1936 #197A5D
analogous
#7A1967 #7A1936 #7A2D19
triadic
#7A1936 #367A19 #19367A
tetradic
#7A1936 #677A19 #197A5D #2D197A
square
#7A1936 #677A19 #197A5D #2D197A
split-complementary
#7A1936 #197A2D #19677A
monochromatic
#19050B #470F20 #7A1936 #AD234C #D63767

Accessibility & contrast

On white

10.40
#7A1936 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1936
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1936#FFFFFF#000000##FFFFFF
##7A19361.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323337
Deuteranopia (green-blind)
#4C4734
Tritanopia (blue-blind)
#860025
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7a1936;
/* rgb */ color: rgb(122, 25, 54);
/* oklch */ color: oklch(38.8% 0.132 8.6);
Tailwind
colors: {
  custom: {
    50: '#a6606c',
    500: '#7a1936',
    950: '#000000',
  },
}
SCSS
$custom: #7a1936;
$custom-light: #a6606c;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1936",
  "rgb": {
    "r": 122,
    "g": 25,
    "b": 54
  },
  "hsl": {
    "h": 342.062,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38782,
    "c": 0.1317,
    "h": 8.6
  },
  "luminance": 0.05099
}

Semantic roles & 50–950 ramp

primary
#7A1936
secondary
#40AF8E
accent
#E9B63F
background
#FAF5F6
surface
#F4EAEB
border
#CEC6C6
text
#100507
muted
#7F797A

Preview Lab

Preview with #7A1936

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

Preview Lab → · Contrast checker → · Palette generator →

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