#7A1D41#7A1D41

#7A1D41 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.5% C 0.130 H 1.9°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#7A1D41
RGBrgb(122, 29, 65)
HSLhsl(337, 62%, 30%)
HSVhsv(337, 76%, 48%)
CMYKcmyk(0%, 76.2%, 46.7%, 52.2%)
CIE-LABlab(27.84, 42.41, 1.45)
CIE-LCHlch(27.84, 42.44, 1.96°)
OKLaboklab(39.49% 0.13 0.0042)
OKLCHoklch(39.49% 0.13 1.9)
XYZxyz(9.4203, 5.3992, 5.5461)
Luminance0.0540 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1D41 #1D7A56
analogous
#7A1D70 #7A1D41 #7A281D
triadic
#7A1D41 #417A1D #1D417A
tetradic
#7A1D41 #707A1D #1D7A56 #281D7A
square
#7A1D41 #707A1D #1D7A56 #281D7A
split-complementary
#7A1D41 #1D7A28 #1D707A
monochromatic
#19060D #491127 #7A1D41 #AB295B #D24078

Accessibility & contrast

On white

10.10
#7A1D41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#7A1D41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1D41
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1D41#FFFFFF#000000##FFFFFF
##7A1D411.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323642
Deuteranopia (green-blind)
#4B483F
Tritanopia (blue-blind)
#850D2C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7a1d41;
/* rgb */ color: rgb(122, 29, 65);
/* oklch */ color: oklch(39.5% 0.130 1.9);
Tailwind
colors: {
  custom: {
    50: '#a56275',
    500: '#7a1d41',
    950: '#000000',
  },
}
SCSS
$custom: #7a1d41;
$custom-light: #a56275;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1d41",
  "rgb": {
    "r": 122,
    "g": 29,
    "b": 65
  },
  "hsl": {
    "h": 336.774,
    "s": 61.589,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39493,
    "c": 0.13007,
    "h": 1.9
  },
  "luminance": 0.05398
}

Semantic roles & 50–950 ramp

primary
#7A1D41
secondary
#45AE85
accent
#E5A643
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100508
muted
#7F7A7B

Preview Lab

Preview with #7A1D41

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

Preview Lab → · Contrast checker → · Palette generator →

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