#7A1A5F#7A1A5F

#7A1A5F is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.5% C 0.149 H 341.9°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#7A1A5F
RGBrgb(122, 26, 95)
HSLhsl(317, 65%, 29%)
HSVhsv(317, 79%, 48%)
CMYKcmyk(0%, 78.7%, 22.1%, 52.2%)
CIE-LABlab(28.65, 47.15, -17.21)
CIE-LCHlch(28.65, 50.19, 339.95°)
OKLaboklab(40.47% 0.1417 -0.0462)
OKLCHoklch(40.47% 0.149 341.9)
XYZxyz(10.4614, 5.7037, 11.3742)
Luminance0.0570 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1A5F #1A7A35
analogous
#651A7A #7A1A5F #7A1A2F
triadic
#7A1A5F #5F7A1A #1A5F7A
tetradic
#7A1A5F #7A651A #1A7A35 #1A2F7A
square
#7A1A5F #7A651A #1A7A35 #1A2F7A
split-complementary
#7A1A5F #2F7A1A #1A7A65
monochromatic
#190514 #480F38 #7A1A5F #AC2586 #D539A9

Accessibility & contrast

On white

9.81
#7A1A5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7A1A5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1A5F
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1A5F#FFFFFF#000000##FFFFFF
##7A1A5F1.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233A61
Deuteranopia (green-blind)
#42495D
Tritanopia (blue-blind)
#821B3A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7a1a5f;
/* rgb */ color: rgb(122, 26, 95);
/* oklch */ color: oklch(40.5% 0.149 341.9);
Tailwind
colors: {
  custom: {
    50: '#a4628c',
    500: '#7a1a5f',
    950: '#000000',
  },
}
SCSS
$custom: #7a1a5f;
$custom-light: #a4628c;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1a5f",
  "rgb": {
    "r": 122,
    "g": 26,
    "b": 95
  },
  "hsl": {
    "h": 316.875,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.4047,
    "c": 0.14901,
    "h": 341.9
  },
  "luminance": 0.05703
}

Semantic roles & 50–950 ramp

primary
#7A1A5F
secondary
#41AE60
accent
#E86F40
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7A1A5F

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

Preview Lab → · Contrast checker → · Palette generator →

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