#7A1730#7A1730

#7A1730 is a dark, vivid pink. Relative luminance 0.050; OKLCH L 38.5% C 0.133 H 12.1°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#7A1730
RGBrgb(122, 23, 48)
HSLhsl(345, 68%, 28%)
HSVhsv(345, 81%, 48%)
CMYKcmyk(0%, 81.1%, 60.7%, 52.2%)
CIE-LABlab(26.64, 42.99, 11.23)
CIE-LCHlch(26.64, 44.44, 14.64°)
OKLaboklab(38.45% 0.1299 0.0279)
OKLCHoklch(38.45% 0.133 12.1)
XYZxyz(8.8668, 4.9651, 3.2872)
Luminance0.0496 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A1730 #177A61
analogous
#7A1761 #7A1730 #7A2F17
triadic
#7A1730 #307A17 #17307A
tetradic
#7A1730 #617A17 #177A61 #2F177A
square
#7A1730 #617A17 #177A61 #2F177A
split-complementary
#7A1730 #177A2F #17617A
monochromatic
#1A050A #470D1C #7A1730 #AD2144 #D9335D

Accessibility & contrast

On white

10.54
#7A1730 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#7A1730 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A1730
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A1730#FFFFFF#000000##FFFFFF
##7A17301.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333230
Deuteranopia (green-blind)
#4C462D
Tritanopia (blue-blind)
#860022
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7a1730;
/* rgb */ color: rgb(122, 23, 48);
/* oklch */ color: oklch(38.5% 0.133 12.1);
Tailwind
colors: {
  custom: {
    50: '#a65f68',
    500: '#7a1730',
    950: '#000000',
  },
}
SCSS
$custom: #7a1730;
$custom-light: #a65f68;
$custom-dark: #000000;
JSON
{
  "hex": "#7a1730",
  "rgb": {
    "r": 122,
    "g": 23,
    "b": 48
  },
  "hsl": {
    "h": 344.848,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.3845,
    "c": 0.13281,
    "h": 12.1
  },
  "luminance": 0.04964
}

Semantic roles & 50–950 ramp

primary
#7A1730
secondary
#3EAF92
accent
#EBBF3D
background
#FAF5F6
surface
#F4EAEB
border
#CEC6C6
text
#110506
muted
#80797A

Preview Lab

Preview with #7A1730

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

Preview Lab → · Contrast checker → · Palette generator →

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