#7B1647#7B1647

#7B1647 is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.3% C 0.141 H 356.8°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#7B1647
RGBrgb(123, 22, 71)
HSLhsl(331, 70%, 28%)
HSVhsv(331, 82%, 48%)
CMYKcmyk(0%, 82.1%, 42.3%, 51.8%)
CIE-LABlab(27.41, 45.68, -3.18)
CIE-LCHlch(27.41, 45.79, 356.01°)
OKLaboklab(39.28% 0.1405 -0.0078)
OKLCHoklch(39.28% 0.141 356.8)
XYZxyz(9.5933, 5.2410, 6.4664)
Luminance0.0524 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1647 #167B4A
analogous
#7B1679 #7B1647 #7B1716
triadic
#7B1647 #477B16 #16477B
tetradic
#7B1647 #797B16 #167B4A #17167B
square
#7B1647 #797B16 #167B4A #17167B
split-complementary
#7B1647 #167B17 #16797B
monochromatic
#1A050F #470D29 #7B1647 #AF1F65 #DA3183

Accessibility & contrast

On white

10.25
#7B1647 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#7B1647 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1647
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1647#FFFFFF#000000##FFFFFF
##7B16471.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3548
Deuteranopia (green-blind)
#484745
Tritanopia (blue-blind)
#86042C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7b1647;
/* rgb */ color: rgb(123, 22, 71);
/* oklch */ color: oklch(39.3% 0.141 356.8);
Tailwind
colors: {
  custom: {
    50: '#a65f7a',
    500: '#7b1647',
    950: '#000000',
  },
}
SCSS
$custom: #7b1647;
$custom-light: #a65f7a;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1647",
  "rgb": {
    "r": 123,
    "g": 22,
    "b": 71
  },
  "hsl": {
    "h": 330.891,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39278,
    "c": 0.14076,
    "h": 356.8
  },
  "luminance": 0.0524
}

Semantic roles & 50–950 ramp

primary
#7B1647
secondary
#3DB078
accent
#EC973B
background
#FAF5F7
surface
#F4EAED
border
#CEC6C8
text
#100509
muted
#7F797B

Preview Lab

Preview with #7B1647

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

Preview Lab → · Contrast checker → · Palette generator →

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