#7A1937#7A1937

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

Color values

HEX#7A1937
RGBrgb(122, 25, 55)
HSLhsl(341, 66%, 29%)
HSVhsv(341, 80%, 48%)
CMYKcmyk(0%, 79.5%, 54.9%, 52.2%)
CIE-LABlab(27.05, 42.90, 7.06)
CIE-LCHlch(27.05, 43.47, 9.34°)
OKLaboklab(38.81% 0.1306 0.0181)
OKLCHoklch(38.81% 0.132 7.9)
XYZxyz(9.0641, 5.1099, 4.1227)
Luminance0.0511 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1937 #197A5C
analogous
#7A1968 #7A1937 #7A2C19
triadic
#7A1937 #377A19 #19377A
tetradic
#7A1937 #687A19 #197A5C #2C197A
square
#7A1937 #687A19 #197A5C #2C197A
split-complementary
#7A1937 #197A2C #19687A
monochromatic
#19050B #470F20 #7A1937 #AD234E #D63768

Accessibility & contrast

On white

10.39
#7A1937 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1937
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1937#FFFFFF#000000##FFFFFF
##7A19371.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323338
Deuteranopia (green-blind)
#4B4735
Tritanopia (blue-blind)
#860026
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7a1937;
/* rgb */ color: rgb(122, 25, 55);
/* oklch */ color: oklch(38.8% 0.132 7.9);
Tailwind
colors: {
  custom: {
    50: '#a6606d',
    500: '#7a1937',
    950: '#000000',
  },
}
SCSS
$custom: #7a1937;
$custom-light: #a6606d;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1937",
  "rgb": {
    "r": 122,
    "g": 25,
    "b": 55
  },
  "hsl": {
    "h": 341.443,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.3881,
    "c": 0.13189,
    "h": 7.9
  },
  "luminance": 0.05109
}

Semantic roles & 50–950 ramp

primary
#7A1937
secondary
#40AF8C
accent
#E9B43F
background
#FAF5F6
surface
#F4EAEB
border
#CEC6C6
text
#100507
muted
#7F797A

Preview Lab

Preview with #7A1937

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

Preview Lab → · Contrast checker → · Palette generator →

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