#7A1F3F#7A1F3F

#7A1F3F is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.6% C 0.127 H 3.8°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#7A1F3F
RGBrgb(122, 31, 63)
HSLhsl(339, 59%, 30%)
HSVhsv(339, 75%, 48%)
CMYKcmyk(0%, 74.6%, 48.4%, 52.2%)
CIE-LABlab(28.05, 41.45, 3.10)
CIE-LCHlch(28.05, 41.56, 4.28°)
OKLaboklab(39.63% 0.1268 0.0084)
OKLCHoklch(39.63% 0.127 3.8)
XYZxyz(9.4140, 5.4777, 5.2632)
Luminance0.0548 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1F3F #1F7A5A
analogous
#7A1F6D #7A1F3F #7A2C1F
triadic
#7A1F3F #3F7A1F #1F3F7A
tetradic
#7A1F3F #6D7A1F #1F7A5A #2C1F7A
square
#7A1F3F #6D7A1F #1F7A5A #2C1F7A
split-complementary
#7A1F3F #1F7A2C #1F6D7A
monochromatic
#18060D #491326 #7A1F3F #AB2B58 #CF4475

Accessibility & contrast

On white

10.02
#7A1F3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#7A1F3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1F3F
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1F3F#FFFFFF#000000##FFFFFF
##7A1F3F1.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343740
Deuteranopia (green-blind)
#4C493D
Tritanopia (blue-blind)
#850F2C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7a1f3f;
/* rgb */ color: rgb(122, 31, 63);
/* oklch */ color: oklch(39.6% 0.127 3.8);
Tailwind
colors: {
  custom: {
    50: '#a56373',
    500: '#7a1f3f',
    950: '#000000',
  },
}
SCSS
$custom: #7a1f3f;
$custom-light: #a56373;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1f3f",
  "rgb": {
    "r": 122,
    "g": 31,
    "b": 63
  },
  "hsl": {
    "h": 338.901,
    "s": 59.477,
    "l": 30
  },
  "oklch": {
    "l": 0.39629,
    "c": 0.12708,
    "h": 3.8
  },
  "luminance": 0.05476
}

Semantic roles & 50–950 ramp

primary
#7A1F3F
secondary
#47AD8A
accent
#E3AB45
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #7A1F3F

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

Preview Lab → · Contrast checker → · Palette generator →

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