#7A1F40#7A1F40

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

Color values

HEX#7A1F40
RGBrgb(122, 31, 64)
HSLhsl(338, 59%, 30%)
HSVhsv(338, 75%, 48%)
CMYKcmyk(0%, 74.6%, 47.5%, 52.2%)
CIE-LABlab(28.08, 41.55, 2.47)
CIE-LCHlch(28.08, 41.62, 3.41°)
OKLaboklab(39.66% 0.1272 0.0068)
OKLCHoklch(39.66% 0.127 3.1)
XYZxyz(9.4422, 5.4889, 5.4117)
Luminance0.0549 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1F40 #1F7A59
analogous
#7A1F6D #7A1F40 #7A2C1F
triadic
#7A1F40 #407A1F #1F407A
tetradic
#7A1F40 #6D7A1F #1F7A59 #2C1F7A
square
#7A1F40 #6D7A1F #1F7A59 #2C1F7A
split-complementary
#7A1F40 #1F7A2C #1F6D7A
monochromatic
#18060D #491326 #7A1F40 #AB2B5A #CF4477

Accessibility & contrast

On white

10.01
#7A1F40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1F40
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1F40#FFFFFF#000000##FFFFFF
##7A1F401.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333741
Deuteranopia (green-blind)
#4C493E
Tritanopia (blue-blind)
#85102D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7a1f40;
/* rgb */ color: rgb(122, 31, 64);
/* oklch */ color: oklch(39.7% 0.127 3.1);
Tailwind
colors: {
  custom: {
    50: '#a56374',
    500: '#7a1f40',
    950: '#000000',
  },
}
SCSS
$custom: #7a1f40;
$custom-light: #a56374;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1f40",
  "rgb": {
    "r": 122,
    "g": 31,
    "b": 64
  },
  "hsl": {
    "h": 338.242,
    "s": 59.477,
    "l": 30
  },
  "oklch": {
    "l": 0.39661,
    "c": 0.12737,
    "h": 3.1
  },
  "luminance": 0.05488
}

Semantic roles & 50–950 ramp

primary
#7A1F40
secondary
#47AD88
accent
#E3AA45
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B

Preview Lab

Preview with #7A1F40

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

Preview Lab → · Contrast checker → · Palette generator →

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