#7D2048#7D2048

#7D2048 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.6% C 0.132 H 358.7°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#7D2048
RGBrgb(125, 32, 72)
HSLhsl(334, 59%, 31%)
HSVhsv(334, 74%, 49%)
CMYKcmyk(0%, 74.4%, 42.4%, 51%)
CIE-LABlab(29.06, 42.94, -1.37)
CIE-LCHlch(29.06, 42.96, 358.17°)
OKLaboklab(40.57% 0.1317 -0.0031)
OKLCHoklch(40.57% 0.132 358.7)
XYZxyz(10.1444, 5.8621, 6.7269)
Luminance0.0586 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2048 #207D55
analogous
#7D2076 #7D2048 #7D2720
triadic
#7D2048 #487D20 #20487D
tetradic
#7D2048 #767D20 #207D55 #27207D
square
#7D2048 #767D20 #207D55 #27207D
split-complementary
#7D2048 #207D27 #20767D
monochromatic
#1C0710 #4C142C #7D2048 #AE2C64 #D04782

Accessibility & contrast

On white

9.67
#7D2048 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#7D2048 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2048
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2048#FFFFFF#000000##FFFFFF
##7D20481.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333949
Deuteranopia (green-blind)
#4C4B46
Tritanopia (blue-blind)
#881431
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7d2048;
/* rgb */ color: rgb(125, 32, 72);
/* oklch */ color: oklch(40.6% 0.132 358.7);
Tailwind
colors: {
  custom: {
    50: '#a7647a',
    500: '#7d2048',
    950: '#000000',
  },
}
SCSS
$custom: #7d2048;
$custom-light: #a7647a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2048",
  "rgb": {
    "r": 125,
    "g": 32,
    "b": 72
  },
  "hsl": {
    "h": 334.194,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.40574,
    "c": 0.13176,
    "h": 358.7
  },
  "luminance": 0.05861
}

Semantic roles & 50–950 ramp

primary
#7D2048
secondary
#49B084
accent
#E29F45
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7D2048

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

Preview Lab → · Contrast checker → · Palette generator →

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