#7A1757#7A1757

#7A1757 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.8% C 0.147 H 346.4°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#7A1757
RGBrgb(122, 23, 87)
HSLhsl(321, 68%, 28%)
HSVhsv(321, 81%, 48%)
CMYKcmyk(0%, 81.1%, 28.7%, 52.2%)
CIE-LABlab(27.95, 47.01, -13.04)
CIE-LCHlch(27.95, 48.79, 344.50°)
OKLaboklab(39.84% 0.1431 -0.0345)
OKLCHoklch(39.84% 0.147 346.4)
XYZxyz(10.0532, 5.4396, 9.5355)
Luminance0.0544 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1757 #177A3A
analogous
#6B177A #7A1757 #7A1725
triadic
#7A1757 #577A17 #17577A
tetradic
#7A1757 #7A6B17 #177A3A #17257A
square
#7A1757 #7A6B17 #177A3A #17257A
split-complementary
#7A1757 #257A17 #177A6B
monochromatic
#1A0512 #470D32 #7A1757 #AD217C #D9339E

Accessibility & contrast

On white

10.06
#7A1757 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#7A1757 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1757
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1757#FFFFFF#000000##FFFFFF
##7A17571.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263759
Deuteranopia (green-blind)
#444855
Tritanopia (blue-blind)
#831435
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7a1757;
/* rgb */ color: rgb(122, 23, 87);
/* oklch */ color: oklch(39.8% 0.147 346.4);
Tailwind
colors: {
  custom: {
    50: '#a46086',
    500: '#7a1757',
    950: '#000000',
  },
}
SCSS
$custom: #7a1757;
$custom-light: #a46086;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1757",
  "rgb": {
    "r": 122,
    "g": 23,
    "b": 87
  },
  "hsl": {
    "h": 321.212,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39844,
    "c": 0.14716,
    "h": 346.4
  },
  "luminance": 0.05438
}

Semantic roles & 50–950 ramp

primary
#7A1757
secondary
#3EAF66
accent
#EB7A3D
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7A1757

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

Preview Lab → · Contrast checker → · Palette generator →

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