#7D2948#7D2948

#7D2948 is a dark, moderate pink. Relative luminance 0.064; OKLCH L 41.6% C 0.120 H 1.0°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#7D2948
RGBrgb(125, 41, 72)
HSLhsl(338, 51%, 33%)
HSVhsv(338, 67%, 49%)
CMYKcmyk(0%, 67.2%, 42.4%, 51%)
CIE-LABlab(30.44, 39.15, 0.64)
CIE-LCHlch(30.44, 39.16, 0.93°)
OKLaboklab(41.59% 0.1197 0.0021)
OKLCHoklch(41.59% 0.12 1)
XYZxyz(10.4208, 6.4150, 6.8191)
Luminance0.0641 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2948 #297D5E
analogous
#7D2972 #7D2948 #7D3429
triadic
#7D2948 #487D29 #29487D
tetradic
#7D2948 #727D29 #297D5E #34297D
square
#7D2948 #727D29 #297D5E #34297D
split-complementary
#7D2948 #297D34 #29727D
monochromatic
#210B13 #4F1A2D #7D2948 #AB3863 #C85882

Accessibility & contrast

On white

9.20
#7D2948 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#7D2948 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2948
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2948#FFFFFF#000000##FFFFFF
##7D29481.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#393D49
Deuteranopia (green-blind)
#504E46
Tritanopia (blue-blind)
#872035
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7d2948;
/* rgb */ color: rgb(125, 41, 72);
/* oklch */ color: oklch(41.6% 0.120 1.0);
Tailwind
colors: {
  custom: {
    50: '#a6687a',
    500: '#7d2948',
    950: '#000000',
  },
}
SCSS
$custom: #7d2948;
$custom-light: #a6687a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2948",
  "rgb": {
    "r": 125,
    "g": 41,
    "b": 72
  },
  "hsl": {
    "h": 337.857,
    "s": 50.602,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41589,
    "c": 0.11972,
    "h": 1
  },
  "luminance": 0.06414
}

Semantic roles & 50–950 ramp

primary
#7D2948
secondary
#54AE8D
accent
#DAA64E
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7D2948

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

Preview Lab → · Contrast checker → · Palette generator →

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