#7D2145#7D2145

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

Color values

HEX#7D2145
RGBrgb(125, 33, 69)
HSLhsl(337, 58%, 31%)
HSVhsv(337, 74%, 49%)
CMYKcmyk(0%, 73.6%, 44.8%, 51%)
CIE-LABlab(29.10, 42.23, 0.69)
CIE-LCHlch(29.10, 42.23, 0.93°)
OKLaboklab(40.57% 0.1294 0.0023)
OKLCHoklch(40.57% 0.129 1)
XYZxyz(10.0762, 5.8786, 6.2331)
Luminance0.0588 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2145 #217D59
analogous
#7D2173 #7D2145 #7D2B21
triadic
#7D2145 #457D21 #21457D
tetradic
#7D2145 #737D21 #217D59 #2B217D
square
#7D2145 #737D21 #217D59 #2B217D
split-complementary
#7D2145 #217D2B #21737D
monochromatic
#1C0710 #4D142A #7D2145 #AD2E60 #CF497E

Accessibility & contrast

On white

9.65
#7D2145 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D2145
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2145#FFFFFF#000000##FFFFFF
##7D21451.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353946
Deuteranopia (green-blind)
#4D4B43
Tritanopia (blue-blind)
#881430
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7d2145;
/* rgb */ color: rgb(125, 33, 69);
/* oklch */ color: oklch(40.6% 0.129 1.0);
Tailwind
colors: {
  custom: {
    50: '#a76478',
    500: '#7d2145',
    950: '#000000',
  },
}
SCSS
$custom: #7d2145;
$custom-light: #a76478;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2145",
  "rgb": {
    "r": 125,
    "g": 33,
    "b": 69
  },
  "hsl": {
    "h": 336.522,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40573,
    "c": 0.12942,
    "h": 1
  },
  "luminance": 0.05877
}

Semantic roles & 50–950 ramp

primary
#7D2145
secondary
#4AB088
accent
#E1A546
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7D2145

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

Preview Lab → · Contrast checker → · Palette generator →

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