#7A1462#7A1462

#7A1462 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 40.2% C 0.157 H 340.0°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#7A1462
RGBrgb(122, 20, 98)
HSLhsl(314, 72%, 28%)
HSVhsv(314, 84%, 48%)
CMYKcmyk(0%, 83.6%, 19.7%, 52.2%)
CIE-LABlab(28.17, 49.38, -19.91)
CIE-LCHlch(28.17, 53.24, 338.04°)
OKLaboklab(40.17% 0.1476 -0.0538)
OKLCHoklch(40.17% 0.157 340)
XYZxyz(10.4811, 5.5208, 12.0665)
Luminance0.0552 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1462 #147A2C
analogous
#5F147A #7A1462 #7A142F
triadic
#7A1462 #627A14 #14627A
tetradic
#7A1462 #7A5F14 #147A2C #142F7A
square
#7A1462 #7A5F14 #147A2C #142F7A
split-complementary
#7A1462 #2F7A14 #147A5F
monochromatic
#1A0415 #450B38 #7A1462 #AF1D8C #DC2CB3

Accessibility & contrast

On white

9.98
#7A1462 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A1462
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1462#FFFFFF#000000##FFFFFF
##7A14621.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3864
Deuteranopia (green-blind)
#3F4860
Tritanopia (blue-blind)
#82183A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7a1462;
/* rgb */ color: rgb(122, 20, 98);
/* oklch */ color: oklch(40.2% 0.157 340.0);
Tailwind
colors: {
  custom: {
    50: '#a4608f',
    500: '#7a1462',
    950: '#000000',
  },
}
SCSS
$custom: #7a1462;
$custom-light: #a4608f;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1462",
  "rgb": {
    "r": 122,
    "g": 20,
    "b": 98
  },
  "hsl": {
    "h": 314.118,
    "s": 71.831,
    "l": 27.843
  },
  "oklch": {
    "l": 0.4017,
    "c": 0.1571,
    "h": 340
  },
  "luminance": 0.0552
}

Semantic roles & 50–950 ramp

primary
#7A1462
secondary
#3AB056
accent
#EF6439
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D

Preview Lab

Preview with #7A1462

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

Preview Lab → · Contrast checker → · Palette generator →

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