#7A1F55#7A1F55

#7A1F55 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.5% C 0.137 H 348.5°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#7A1F55
RGBrgb(122, 31, 85)
HSLhsl(324, 59%, 30%)
HSVhsv(324, 75%, 48%)
CMYKcmyk(0%, 74.6%, 30.3%, 52.2%)
CIE-LABlab(28.84, 44.00, -10.37)
CIE-LCHlch(28.84, 45.21, 346.74°)
OKLaboklab(40.46% 0.134 -0.0272)
OKLCHoklch(40.46% 0.137 348.5)
XYZxyz(10.1562, 5.7746, 9.1723)
Luminance0.0577 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1F55 #1F7A44
analogous
#721F7A #7A1F55 #7A1F27
triadic
#7A1F55 #557A1F #1F557A
tetradic
#7A1F55 #7A721F #1F7A44 #1F277A
square
#7A1F55 #7A721F #1F7A44 #1F277A
split-complementary
#7A1F55 #277A1F #1F7A72
monochromatic
#180611 #491333 #7A1F55 #AB2B77 #CF4497

Accessibility & contrast

On white

9.75
#7A1F55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7A1F55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1F55
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1F55#FFFFFF#000000##FFFFFF
##7A1F551.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3A56
Deuteranopia (green-blind)
#474A53
Tritanopia (blue-blind)
#831B37
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7a1f55;
/* rgb */ color: rgb(122, 31, 85);
/* oklch */ color: oklch(40.5% 0.137 348.5);
Tailwind
colors: {
  custom: {
    50: '#a46385',
    500: '#7a1f55',
    950: '#000000',
  },
}
SCSS
$custom: #7a1f55;
$custom-light: #a46385;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1f55",
  "rgb": {
    "r": 122,
    "g": 31,
    "b": 85
  },
  "hsl": {
    "h": 324.396,
    "s": 59.477,
    "l": 30
  },
  "oklch": {
    "l": 0.4046,
    "c": 0.13676,
    "h": 348.5
  },
  "luminance": 0.05773
}

Semantic roles & 50–950 ramp

primary
#7A1F55
secondary
#47AD71
accent
#E38545
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7A1F55

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

Preview Lab → · Contrast checker → · Palette generator →

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