#7B1945#7B1945

#7B1945 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.4% C 0.137 H 358.6°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#7B1945
RGBrgb(123, 25, 69)
HSLhsl(333, 66%, 29%)
HSVhsv(333, 80%, 48%)
CMYKcmyk(0%, 79.7%, 43.9%, 51.8%)
CIE-LABlab(27.67, 44.53, -1.45)
CIE-LCHlch(27.67, 44.55, 358.13°)
OKLaboklab(39.45% 0.1368 -0.0033)
OKLCHoklch(39.45% 0.137 358.6)
XYZxyz(9.5909, 5.3371, 6.1542)
Luminance0.0534 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1945 #197B4F
analogous
#7B1976 #7B1945 #7B1E19
triadic
#7B1945 #457B19 #19457B
tetradic
#7B1945 #767B19 #197B4F #1E197B
square
#7B1945 #767B19 #197B4F #1E197B
split-complementary
#7B1945 #197B1E #19767B
monochromatic
#19050E #480F28 #7B1945 #AE2362 #D7387F

Accessibility & contrast

On white

10.16
#7B1945 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#7B1945 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1945
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1945#FFFFFF#000000##FFFFFF
##7B19451.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3546
Deuteranopia (green-blind)
#4A4843
Tritanopia (blue-blind)
#86082D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7b1945;
/* rgb */ color: rgb(123, 25, 69);
/* oklch */ color: oklch(39.4% 0.137 358.6);
Tailwind
colors: {
  custom: {
    50: '#a66078',
    500: '#7b1945',
    950: '#000000',
  },
}
SCSS
$custom: #7b1945;
$custom-light: #a66078;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1945",
  "rgb": {
    "r": 123,
    "g": 25,
    "b": 69
  },
  "hsl": {
    "h": 333.061,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.39449,
    "c": 0.13688,
    "h": 358.6
  },
  "luminance": 0.05336
}

Semantic roles & 50–950 ramp

primary
#7B1945
secondary
#40AF7E
accent
#E99D3F
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7B1945

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

Preview Lab → · Contrast checker → · Palette generator →

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