#7A1F3D#7A1F3D

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

Color values

HEX#7A1F3D
RGBrgb(122, 31, 61)
HSLhsl(340, 59%, 30%)
HSVhsv(340, 75%, 48%)
CMYKcmyk(0%, 74.6%, 50%, 52.2%)
CIE-LABlab(28.00, 41.25, 4.36)
CIE-LCHlch(28.00, 41.48, 6.03°)
OKLaboklab(39.57% 0.126 0.0115)
OKLCHoklch(39.57% 0.127 5.2)
XYZxyz(9.3591, 5.4557, 4.9742)
Luminance0.0545 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1F3D #1F7A5C
analogous
#7A1F6A #7A1F3D #7A2F1F
triadic
#7A1F3D #3D7A1F #1F3D7A
tetradic
#7A1F3D #6A7A1F #1F7A5C #2F1F7A
square
#7A1F3D #6A7A1F #1F7A5C #2F1F7A
split-complementary
#7A1F3D #1F7A2F #1F6A7A
monochromatic
#18060C #491325 #7A1F3D #AB2B55 #CF4472

Accessibility & contrast

On white

10.04
#7A1F3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#7A1F3D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1F3D
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1F3D#FFFFFF#000000##FFFFFF
##7A1F3D1.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34373E
Deuteranopia (green-blind)
#4C493B
Tritanopia (blue-blind)
#850E2B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7a1f3d;
/* rgb */ color: rgb(122, 31, 61);
/* oklch */ color: oklch(39.6% 0.127 5.2);
Tailwind
colors: {
  custom: {
    50: '#a56372',
    500: '#7a1f3d',
    950: '#000000',
  },
}
SCSS
$custom: #7a1f3d;
$custom-light: #a56372;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1f3d",
  "rgb": {
    "r": 122,
    "g": 31,
    "b": 61
  },
  "hsl": {
    "h": 340.22,
    "s": 59.477,
    "l": 30
  },
  "oklch": {
    "l": 0.39566,
    "c": 0.12655,
    "h": 5.2
  },
  "luminance": 0.05454
}

Semantic roles & 50–950 ramp

primary
#7A1F3D
secondary
#47AD8C
accent
#E3AF45
background
#FAF6F6
surface
#F4EBEC
border
#CEC6C7
text
#100607
muted
#7F7A7A

Preview Lab

Preview with #7A1F3D

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

Preview Lab → · Contrast checker → · Palette generator →

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