#7A1F4E#7A1F4E

#7A1F4E is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.2% C 0.133 H 353.2°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#7A1F4E
RGBrgb(122, 31, 78)
HSLhsl(329, 59%, 30%)
HSVhsv(329, 75%, 48%)
CMYKcmyk(0%, 74.6%, 36.1%, 52.2%)
CIE-LABlab(28.56, 43.11, -6.16)
CIE-LCHlch(28.56, 43.55, 351.87°)
OKLaboklab(40.17% 0.132 -0.0158)
OKLCHoklch(40.17% 0.133 353.2)
XYZxyz(9.8918, 5.6688, 7.7795)
Luminance0.0567 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1F4E #1F7A4B
analogous
#781F7A #7A1F4E #7A1F21
triadic
#7A1F4E #4E7A1F #1F4E7A
tetradic
#7A1F4E #7A781F #1F7A4B #1F217A
square
#7A1F4E #7A781F #1F7A4B #1F217A
split-complementary
#7A1F4E #217A1F #1F7A78
monochromatic
#180610 #49132F #7A1F4E #AB2B6D #CF448C

Accessibility & contrast

On white

9.84
#7A1F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#7A1F4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1F4E
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1F4E#FFFFFF#000000##FFFFFF
##7A1F4E1.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F394F
Deuteranopia (green-blind)
#49494C
Tritanopia (blue-blind)
#841733
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7a1f4e;
/* rgb */ color: rgb(122, 31, 78);
/* oklch */ color: oklch(40.2% 0.133 353.2);
Tailwind
colors: {
  custom: {
    50: '#a4637f',
    500: '#7a1f4e',
    950: '#000000',
  },
}
SCSS
$custom: #7a1f4e;
$custom-light: #a4637f;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1f4e",
  "rgb": {
    "r": 122,
    "g": 31,
    "b": 78
  },
  "hsl": {
    "h": 329.011,
    "s": 59.477,
    "l": 30
  },
  "oklch": {
    "l": 0.40168,
    "c": 0.13298,
    "h": 353.2
  },
  "luminance": 0.05668
}

Semantic roles & 50–950 ramp

primary
#7A1F4E
secondary
#47AD79
accent
#E39145
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7A1F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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