#7D1F53#7D1F53

#7D1F53 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 40.9% C 0.138 H 351.1°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#7D1F53
RGBrgb(125, 31, 83)
HSLhsl(327, 60%, 31%)
HSVhsv(327, 75%, 49%)
CMYKcmyk(0%, 75.2%, 33.6%, 51%)
CIE-LABlab(29.33, 44.61, -8.26)
CIE-LCHlch(29.33, 45.37, 349.51°)
OKLaboklab(40.9% 0.1364 -0.0214)
OKLCHoklch(40.9% 0.138 351.1)
XYZxyz(10.5094, 5.9657, 8.7800)
Luminance0.0596 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1F53 #1F7D49
analogous
#781F7D #7D1F53 #7D1F24
triadic
#7D1F53 #537D1F #1F537D
tetradic
#7D1F53 #7D781F #1F7D49 #1F247D
square
#7D1F53 #7D781F #1F7D49 #1F247D
split-complementary
#7D1F53 #247D1F #1F7D78
monochromatic
#1B0712 #4C1332 #7D1F53 #AE2B74 #D14593

Accessibility & contrast

On white

9.58
#7D1F53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1F53
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1F53#FFFFFF#000000##FFFFFF
##7D1F531.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3A54
Deuteranopia (green-blind)
#494B51
Tritanopia (blue-blind)
#871936
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #7d1f53;
/* rgb */ color: rgb(125, 31, 83);
/* oklch */ color: oklch(40.9% 0.138 351.1);
Tailwind
colors: {
  custom: {
    50: '#a66483',
    500: '#7d1f53',
    950: '#000000',
  },
}
SCSS
$custom: #7d1f53;
$custom-light: #a66483;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1f53",
  "rgb": {
    "r": 125,
    "g": 31,
    "b": 83
  },
  "hsl": {
    "h": 326.809,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40898,
    "c": 0.13808,
    "h": 351.1
  },
  "luminance": 0.05964
}

Semantic roles & 50–950 ramp

primary
#7D1F53
secondary
#48B076
accent
#E38B44
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #7D1F53

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

Preview Lab → · Contrast checker → · Palette generator →

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