#7A174B#7A174B

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

Color values

HEX#7A174B
RGBrgb(122, 23, 75)
HSLhsl(328, 68%, 28%)
HSVhsv(328, 81%, 48%)
CMYKcmyk(0%, 81.1%, 38.5%, 52.2%)
CIE-LABlab(27.46, 45.54, -5.81)
CIE-LCHlch(27.46, 45.91, 352.73°)
OKLaboklab(39.33% 0.1399 -0.0148)
OKLCHoklch(39.33% 0.141 354)
XYZxyz(9.6031, 5.2596, 7.1647)
Luminance0.0526 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A174B #177A46
analogous
#77177A #7A174B #7A1719
triadic
#7A174B #4B7A17 #174B7A
tetradic
#7A174B #7A7717 #177A46 #17197A
square
#7A174B #7A7717 #177A46 #17197A
split-complementary
#7A174B #197A17 #177A77
monochromatic
#1A0510 #470D2B #7A174B #AD216B #D9338A

Accessibility & contrast

On white

10.24
#7A174B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A174B
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A174B#FFFFFF#000000##FFFFFF
##7A174B1.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B354C
Deuteranopia (green-blind)
#474749
Tritanopia (blue-blind)
#840A2F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7a174b;
/* rgb */ color: rgb(122, 23, 75);
/* oklch */ color: oklch(39.3% 0.141 354.0);
Tailwind
colors: {
  custom: {
    50: '#a5607d',
    500: '#7a174b',
    950: '#000000',
  },
}
SCSS
$custom: #7a174b;
$custom-light: #a5607d;
$custom-dark: #000000;
JSON
{
  "hex": "#7a174b",
  "rgb": {
    "r": 122,
    "g": 23,
    "b": 75
  },
  "hsl": {
    "h": 328.485,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39327,
    "c": 0.14072,
    "h": 354
  },
  "luminance": 0.05258
}

Semantic roles & 50–950 ramp

primary
#7A174B
secondary
#3EAF74
accent
#EB8F3D
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7A174B

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

Preview Lab → · Contrast checker → · Palette generator →

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