#7D1945#7D1945

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

Color values

HEX#7D1945
RGBrgb(125, 25, 69)
HSLhsl(334, 67%, 29%)
HSVhsv(334, 80%, 49%)
CMYKcmyk(0%, 80%, 44.8%, 51%)
CIE-LABlab(28.08, 45.11, -0.81)
CIE-LCHlch(28.08, 45.11, 358.97°)
OKLaboklab(39.82% 0.1386 -0.0016)
OKLCHoklch(39.82% 0.139 359.3)
XYZxyz(9.8800, 5.4862, 6.1677)
Luminance0.0549 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1945 #197D51
analogous
#7D1977 #7D1945 #7D1F19
triadic
#7D1945 #457D19 #19457D
tetradic
#7D1945 #777D19 #197D51 #1F197D
square
#7D1945 #777D19 #197D51 #1F197D
split-complementary
#7D1945 #197D1F #19777D
monochromatic
#1A050E #4A0F29 #7D1945 #B02361 #D7397F

Accessibility & contrast

On white

10.01
#7D1945 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1945
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1945#FFFFFF#000000##FFFFFF
##7D19451.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303646
Deuteranopia (green-blind)
#4B4943
Tritanopia (blue-blind)
#88062D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7d1945;
/* rgb */ color: rgb(125, 25, 69);
/* oklch */ color: oklch(39.8% 0.139 359.3);
Tailwind
colors: {
  custom: {
    50: '#a76178',
    500: '#7d1945',
    950: '#000000',
  },
}
SCSS
$custom: #7d1945;
$custom-light: #a76178;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1945",
  "rgb": {
    "r": 125,
    "g": 25,
    "b": 69
  },
  "hsl": {
    "h": 333.6,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39817,
    "c": 0.13862,
    "h": 359.3
  },
  "luminance": 0.05485
}

Semantic roles & 50–950 ramp

primary
#7D1945
secondary
#40B180
accent
#EA9E3E
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7D1945

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

Preview Lab → · Contrast checker → · Palette generator →

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