#7D1946#7D1946

#7D1946 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.9% C 0.139 H 358.7°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#7D1946
RGBrgb(125, 25, 70)
HSLhsl(333, 67%, 29%)
HSVhsv(333, 80%, 49%)
CMYKcmyk(0%, 80%, 44%, 51%)
CIE-LABlab(28.11, 45.21, -1.44)
CIE-LCHlch(28.11, 45.23, 358.18°)
OKLaboklab(39.85% 0.139 -0.0032)
OKLCHoklch(39.85% 0.139 358.7)
XYZxyz(9.9113, 5.4987, 6.3326)
Luminance0.0550 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1946 #197D50
analogous
#7D1978 #7D1946 #7D1E19
triadic
#7D1946 #467D19 #19467D
tetradic
#7D1946 #787D19 #197D50 #1E197D
square
#7D1946 #787D19 #197D50 #1E197D
split-complementary
#7D1946 #197D1E #19787D
monochromatic
#1A050E #4A0F29 #7D1946 #B02363 #D73980

Accessibility & contrast

On white

10.00
#7D1946 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#7D1946 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1946
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1946#FFFFFF#000000##FFFFFF
##7D19461.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3647
Deuteranopia (green-blind)
#4B4944
Tritanopia (blue-blind)
#88072D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7d1946;
/* rgb */ color: rgb(125, 25, 70);
/* oklch */ color: oklch(39.9% 0.139 358.7);
Tailwind
colors: {
  custom: {
    50: '#a76179',
    500: '#7d1946',
    950: '#000000',
  },
}
SCSS
$custom: #7d1946;
$custom-light: #a76179;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1946",
  "rgb": {
    "r": 125,
    "g": 25,
    "b": 70
  },
  "hsl": {
    "h": 333,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39853,
    "c": 0.139,
    "h": 358.7
  },
  "luminance": 0.05497
}

Semantic roles & 50–950 ramp

primary
#7D1946
secondary
#40B17F
accent
#EA9C3E
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7D1946

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

Preview Lab → · Contrast checker → · Palette generator →

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