#7D2248#7D2248

#7D2248 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 40.8% C 0.129 H 359.1°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#7D2248
RGBrgb(125, 34, 72)
HSLhsl(335, 57%, 31%)
HSVhsv(335, 73%, 49%)
CMYKcmyk(0%, 72.8%, 42.4%, 51%)
CIE-LABlab(29.34, 42.15, -0.96)
CIE-LCHlch(29.34, 42.16, 358.70°)
OKLaboklab(40.78% 0.1292 -0.002)
OKLCHoklch(40.78% 0.129 359.1)
XYZxyz(10.1999, 5.9732, 6.7454)
Luminance0.0597 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2248 #227D57
analogous
#7D2275 #7D2248 #7D2922
triadic
#7D2248 #487D22 #22487D
tetradic
#7D2248 #757D22 #227D57 #29227D
square
#7D2248 #757D22 #227D57 #29227D
split-complementary
#7D2248 #227D29 #22757D
monochromatic
#1D0811 #4D152C #7D2248 #AD2F64 #CE4B82

Accessibility & contrast

On white

9.57
#7D2248 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#7D2248 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2248
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2248#FFFFFF#000000##FFFFFF
##7D22481.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d2248;
/* rgb */ color: rgb(125, 34, 72);
/* oklch */ color: oklch(40.8% 0.129 359.1);
Tailwind
colors: {
  custom: {
    50: '#a7657a',
    500: '#7d2248',
    950: '#000000',
  },
}
SCSS
$custom: #7d2248;
$custom-light: #a7657a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2248",
  "rgb": {
    "r": 125,
    "g": 34,
    "b": 72
  },
  "hsl": {
    "h": 334.945,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40782,
    "c": 0.12924,
    "h": 359.1
  },
  "luminance": 0.05972
}

Semantic roles & 50–950 ramp

primary
#7D2248
secondary
#4BB086
accent
#E0A147
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7D2248

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

Preview Lab → · Contrast checker → · Palette generator →

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