#7B1A63#7B1A63

#7B1A63 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.8% C 0.152 H 340.1°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#7B1A63
RGBrgb(123, 26, 99)
HSLhsl(315, 65%, 29%)
HSVhsv(315, 79%, 48%)
CMYKcmyk(0%, 78.9%, 19.5%, 51.8%)
CIE-LABlab(29.04, 47.99, -19.20)
CIE-LCHlch(29.04, 51.68, 338.19°)
OKLaboklab(40.85% 0.1433 -0.0519)
OKLCHoklch(40.85% 0.152 340.1)
XYZxyz(10.7902, 5.8517, 12.3632)
Luminance0.0585 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1A63 #1A7B32
analogous
#631A7B #7B1A63 #7B1A33
triadic
#7B1A63 #637B1A #1A637B
tetradic
#7B1A63 #7B631A #1A7B32 #1A337B
square
#7B1A63 #7B631A #1A7B32 #1A337B
split-complementary
#7B1A63 #337B1A #1A7B63
monochromatic
#190514 #480F3A #7B1A63 #AE258C #D53AAF

Accessibility & contrast

On white

9.68
#7B1A63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#7B1A63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1A63
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1A63#FFFFFF#000000##FFFFFF
##7B1A631.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213B65
Deuteranopia (green-blind)
#414A61
Tritanopia (blue-blind)
#831D3D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7b1a63;
/* rgb */ color: rgb(123, 26, 99);
/* oklch */ color: oklch(40.8% 0.152 340.1);
Tailwind
colors: {
  custom: {
    50: '#a5628f',
    500: '#7b1a63',
    950: '#000000',
  },
}
SCSS
$custom: #7b1a63;
$custom-light: #a5628f;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1a63",
  "rgb": {
    "r": 123,
    "g": 26,
    "b": 99
  },
  "hsl": {
    "h": 314.845,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40846,
    "c": 0.15237,
    "h": 340.1
  },
  "luminance": 0.05851
}

Semantic roles & 50–950 ramp

primary
#7B1A63
secondary
#42AF5D
accent
#E86940
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #7B1A63

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

Preview Lab → · Contrast checker → · Palette generator →

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