#7A1938#7A1938

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

Color values

HEX#7A1938
RGBrgb(122, 25, 56)
HSLhsl(341, 66%, 29%)
HSVhsv(341, 80%, 48%)
CMYKcmyk(0%, 79.5%, 54.1%, 52.2%)
CIE-LABlab(27.07, 42.98, 6.42)
CIE-LCHlch(27.07, 43.46, 8.49°)
OKLaboklab(38.84% 0.1311 0.0166)
OKLCHoklch(38.84% 0.132 7.2)
XYZxyz(9.0883, 5.1196, 4.2502)
Luminance0.0512 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1938 #197A5B
analogous
#7A1969 #7A1938 #7A2B19
triadic
#7A1938 #387A19 #19387A
tetradic
#7A1938 #697A19 #197A5B #2B197A
square
#7A1938 #697A19 #197A5B #2B197A
split-complementary
#7A1938 #197A2B #19697A
monochromatic
#19050C #470F21 #7A1938 #AD234F #D6376A

Accessibility & contrast

On white

10.38
#7A1938 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1938
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1938#FFFFFF#000000##FFFFFF
##7A19381.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a1938;
/* rgb */ color: rgb(122, 25, 56);
/* oklch */ color: oklch(38.8% 0.132 7.2);
Tailwind
colors: {
  custom: {
    50: '#a6606e',
    500: '#7a1938',
    950: '#000000',
  },
}
SCSS
$custom: #7a1938;
$custom-light: #a6606e;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1938",
  "rgb": {
    "r": 122,
    "g": 25,
    "b": 56
  },
  "hsl": {
    "h": 340.825,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38839,
    "c": 0.13209,
    "h": 7.2
  },
  "luminance": 0.05118
}

Semantic roles & 50–950 ramp

primary
#7A1938
secondary
#40AF8B
accent
#E9B33F
background
#FAF5F6
surface
#F4EAEB
border
#CEC6C6
text
#100507
muted
#7F797A

Preview Lab

Preview with #7A1938

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

Preview Lab → · Contrast checker → · Palette generator →

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