#7A1538#7A1538

#7A1538 is a dark, vivid pink. Relative luminance 0.050; OKLCH L 38.5% C 0.136 H 6.3°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#7A1538
RGBrgb(122, 21, 56)
HSLhsl(339, 71%, 28%)
HSVhsv(339, 83%, 48%)
CMYKcmyk(0%, 82.8%, 54.1%, 52.2%)
CIE-LABlab(26.62, 44.25, 5.78)
CIE-LCHlch(26.62, 44.63, 7.45°)
OKLaboklab(38.51% 0.1352 0.015)
OKLCHoklch(38.51% 0.136 6.3)
XYZxyz(9.0088, 4.9607, 4.2237)
Luminance0.0496 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1538 #157A57
analogous
#7A156A #7A1538 #7A2515
triadic
#7A1538 #387A15 #15387A
tetradic
#7A1538 #6A7A15 #157A57 #25157A
square
#7A1538 #6A7A15 #157A57 #25157A
split-complementary
#7A1538 #157A25 #156A7A
monochromatic
#1A040C #460C20 #7A1538 #AE1E50 #DB2E6A

Accessibility & contrast

On white

10.54
#7A1538 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#7A1538 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1538
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1538#FFFFFF#000000##FFFFFF
##7A15381.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303239
Deuteranopia (green-blind)
#4A4636
Tritanopia (blue-blind)
#860025
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7a1538;
/* rgb */ color: rgb(122, 21, 56);
/* oklch */ color: oklch(38.5% 0.136 6.3);
Tailwind
colors: {
  custom: {
    50: '#a65e6e',
    500: '#7a1538',
    950: '#000000',
  },
}
SCSS
$custom: #7a1538;
$custom-light: #a65e6e;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1538",
  "rgb": {
    "r": 122,
    "g": 21,
    "b": 56
  },
  "hsl": {
    "h": 339.208,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.38508,
    "c": 0.13598,
    "h": 6.3
  },
  "luminance": 0.04959
}

Semantic roles & 50–950 ramp

primary
#7A1538
secondary
#3BAF87
accent
#EDAF3A
background
#FAF5F6
surface
#F4EAEB
border
#CEC6C6
text
#100507
muted
#7F797A

Preview Lab

Preview with #7A1538

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

Preview Lab → · Contrast checker → · Palette generator →

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