#7A1F45#7A1F45

#7A1F45 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.8% C 0.129 H 359.5°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#7A1F45
RGBrgb(122, 31, 69)
HSLhsl(335, 59%, 30%)
HSVhsv(335, 75%, 48%)
CMYKcmyk(0%, 74.6%, 43.4%, 52.2%)
CIE-LABlab(28.24, 42.08, -0.64)
CIE-LCHlch(28.24, 42.08, 359.13°)
OKLaboklab(39.83% 0.129 -0.0012)
OKLCHoklch(39.83% 0.129 359.5)
XYZxyz(9.5909, 5.5484, 6.1950)
Luminance0.0555 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1F45 #1F7A54
analogous
#7A1F73 #7A1F45 #7A261F
triadic
#7A1F45 #457A1F #1F457A
tetradic
#7A1F45 #737A1F #1F7A54 #261F7A
square
#7A1F45 #737A1F #1F7A54 #261F7A
split-complementary
#7A1F45 #1F7A26 #1F737A
monochromatic
#18060E #491329 #7A1F45 #AB2B61 #CF447E

Accessibility & contrast

On white

9.96
#7A1F45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#7A1F45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1F45
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1F45#FFFFFF#000000##FFFFFF
##7A1F451.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323846
Deuteranopia (green-blind)
#4B4943
Tritanopia (blue-blind)
#85122F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7a1f45;
/* rgb */ color: rgb(122, 31, 69);
/* oklch */ color: oklch(39.8% 0.129 359.5);
Tailwind
colors: {
  custom: {
    50: '#a56378',
    500: '#7a1f45',
    950: '#000000',
  },
}
SCSS
$custom: #7a1f45;
$custom-light: #a56378;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1f45",
  "rgb": {
    "r": 122,
    "g": 31,
    "b": 69
  },
  "hsl": {
    "h": 334.945,
    "s": 59.477,
    "l": 30
  },
  "oklch": {
    "l": 0.3983,
    "c": 0.12905,
    "h": 359.5
  },
  "luminance": 0.05547
}

Semantic roles & 50–950 ramp

primary
#7A1F45
secondary
#47AD83
accent
#E3A145
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7A1F45

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

Preview Lab → · Contrast checker → · Palette generator →

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