#7D1954#7D1954

#7D1954 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.4% C 0.146 H 349.7°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#7D1954
RGBrgb(125, 25, 84)
HSLhsl(325, 67%, 29%)
HSVhsv(325, 80%, 49%)
CMYKcmyk(0%, 80%, 32.8%, 51%)
CIE-LABlab(28.63, 46.81, -9.96)
CIE-LCHlch(28.63, 47.86, 347.98°)
OKLaboklab(40.41% 0.1432 -0.026)
OKLCHoklch(40.41% 0.146 349.7)
XYZxyz(10.4059, 5.6966, 8.9373)
Luminance0.0570 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1954 #197D42
analogous
#74197D #7D1954 #7D1922
triadic
#7D1954 #547D19 #19547D
tetradic
#7D1954 #7D7419 #197D42 #19227D
square
#7D1954 #7D7419 #197D42 #19227D
split-complementary
#7D1954 #227D19 #197D74
monochromatic
#1A0511 #4A0F32 #7D1954 #B02376 #D73996

Accessibility & contrast

On white

9.82
#7D1954 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#7D1954 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1954
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1954#FFFFFF#000000##FFFFFF
##7D19541.009.822.149.82
#FFFFFF9.821.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3856
Deuteranopia (green-blind)
#474A52
Tritanopia (blue-blind)
#871234
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7d1954;
/* rgb */ color: rgb(125, 25, 84);
/* oklch */ color: oklch(40.4% 0.146 349.7);
Tailwind
colors: {
  custom: {
    50: '#a76184',
    500: '#7d1954',
    950: '#000000',
  },
}
SCSS
$custom: #7d1954;
$custom-light: #a76184;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1954",
  "rgb": {
    "r": 125,
    "g": 25,
    "b": 84
  },
  "hsl": {
    "h": 324.6,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40406,
    "c": 0.14554,
    "h": 349.7
  },
  "luminance": 0.05695
}

Semantic roles & 50–950 ramp

primary
#7D1954
secondary
#40B16F
accent
#EA843E
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7D1954

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

Preview Lab → · Contrast checker → · Palette generator →

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