#7D1948#7D1948

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

Color values

HEX#7D1948
RGBrgb(125, 25, 72)
HSLhsl(332, 67%, 29%)
HSVhsv(332, 80%, 49%)
CMYKcmyk(0%, 80%, 42.4%, 51%)
CIE-LABlab(28.18, 45.42, -2.67)
CIE-LCHlch(28.18, 45.50, 356.63°)
OKLaboklab(39.92% 0.1396 -0.0064)
OKLCHoklch(39.92% 0.14 357.4)
XYZxyz(9.9755, 5.5244, 6.6706)
Luminance0.0552 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1948 #197D4E
analogous
#7D197A #7D1948 #7D1C19
triadic
#7D1948 #487D19 #19487D
tetradic
#7D1948 #7A7D19 #197D4E #1C197D
square
#7D1948 #7A7D19 #197D4E #1C197D
split-complementary
#7D1948 #197D1C #197A7D
monochromatic
#1A050F #4A0F2B #7D1948 #B02365 #D73983

Accessibility & contrast

On white

9.98
#7D1948 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1948
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1948#FFFFFF#000000##FFFFFF
##7D19481.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3749
Deuteranopia (green-blind)
#4A4946
Tritanopia (blue-blind)
#88082E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7d1948;
/* rgb */ color: rgb(125, 25, 72);
/* oklch */ color: oklch(39.9% 0.140 357.4);
Tailwind
colors: {
  custom: {
    50: '#a7617a',
    500: '#7d1948',
    950: '#000000',
  },
}
SCSS
$custom: #7d1948;
$custom-light: #a7617a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1948",
  "rgb": {
    "r": 125,
    "g": 25,
    "b": 72
  },
  "hsl": {
    "h": 331.8,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.39925,
    "c": 0.13978,
    "h": 357.4
  },
  "luminance": 0.05523
}

Semantic roles & 50–950 ramp

primary
#7D1948
secondary
#40B17C
accent
#EA993E
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100509
muted
#7F7A7B

Preview Lab

Preview with #7D1948

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

Preview Lab → · Contrast checker → · Palette generator →

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