#7A1B62#7A1B62

#7A1B62 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.7% C 0.150 H 340.3°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#7A1B62
RGBrgb(122, 27, 98)
HSLhsl(315, 64%, 29%)
HSVhsv(315, 78%, 48%)
CMYKcmyk(0%, 77.9%, 19.7%, 52.2%)
CIE-LABlab(28.91, 47.25, -18.75)
CIE-LCHlch(28.91, 50.84, 338.35°)
OKLaboklab(40.71% 0.1411 -0.0506)
OKLCHoklch(40.71% 0.15 340.3)
XYZxyz(10.6229, 5.8043, 12.1138)
Luminance0.0580 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1B62 #1B7A33
analogous
#631B7A #7A1B62 #7A1B33
triadic
#7A1B62 #627A1B #1B627A
tetradic
#7A1B62 #7A631B #1B7A33 #1B337A
square
#7A1B62 #7A631B #1B7A33 #1B337A
split-complementary
#7A1B62 #337A1B #1B7A63
monochromatic
#190614 #48103A #7A1B62 #AC268A #D43CAD

Accessibility & contrast

On white

9.72
#7A1B62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7A1B62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1B62
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1B62#FFFFFF#000000##FFFFFF
##7A1B621.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223B64
Deuteranopia (green-blind)
#414A60
Tritanopia (blue-blind)
#821E3C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7a1b62;
/* rgb */ color: rgb(122, 27, 98);
/* oklch */ color: oklch(40.7% 0.150 340.3);
Tailwind
colors: {
  custom: {
    50: '#a4628f',
    500: '#7a1b62',
    950: '#000000',
  },
}
SCSS
$custom: #7a1b62;
$custom-light: #a4628f;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1b62",
  "rgb": {
    "r": 122,
    "g": 27,
    "b": 98
  },
  "hsl": {
    "h": 315.158,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40707,
    "c": 0.14991,
    "h": 340.3
  },
  "luminance": 0.05803
}

Semantic roles & 50–950 ramp

primary
#7A1B62
secondary
#43AE5E
accent
#E76B41
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7A1B62

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

Preview Lab → · Contrast checker → · Palette generator →

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