#7D2148#7D2148

#7D2148 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.7% C 0.131 H 358.9°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#7D2148
RGBrgb(125, 33, 72)
HSLhsl(335, 58%, 31%)
HSVhsv(335, 74%, 49%)
CMYKcmyk(0%, 73.6%, 42.4%, 51%)
CIE-LABlab(29.20, 42.55, -1.17)
CIE-LCHlch(29.20, 42.57, 358.43°)
OKLaboklab(40.68% 0.1305 -0.0025)
OKLCHoklch(40.68% 0.131 358.9)
XYZxyz(10.1717, 5.9168, 6.7361)
Luminance0.0592 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2148 #217D56
analogous
#7D2176 #7D2148 #7D2821
triadic
#7D2148 #487D21 #21487D
tetradic
#7D2148 #767D21 #217D56 #28217D
square
#7D2148 #767D21 #217D56 #28217D
split-complementary
#7D2148 #217D28 #21767D
monochromatic
#1C0710 #4D142C #7D2148 #AD2E64 #CF4982

Accessibility & contrast

On white

9.62
#7D2148 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#7D2148 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2148
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2148#FFFFFF#000000##FFFFFF
##7D21481.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#343A49
Deuteranopia (green-blind)
#4D4B46
Tritanopia (blue-blind)
#881531
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7d2148;
/* rgb */ color: rgb(125, 33, 72);
/* oklch */ color: oklch(40.7% 0.131 358.9);
Tailwind
colors: {
  custom: {
    50: '#a7647a',
    500: '#7d2148',
    950: '#000000',
  },
}
SCSS
$custom: #7d2148;
$custom-light: #a7647a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2148",
  "rgb": {
    "r": 125,
    "g": 33,
    "b": 72
  },
  "hsl": {
    "h": 334.565,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40676,
    "c": 0.1305,
    "h": 358.9
  },
  "luminance": 0.05916
}

Semantic roles & 50–950 ramp

primary
#7D2148
secondary
#4AB085
accent
#E1A046
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7D2148

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

Preview Lab → · Contrast checker → · Palette generator →

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