#7D1547#7D1547

#7D1547 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.6% C 0.143 H 357.4°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#7D1547
RGBrgb(125, 21, 71)
HSLhsl(331, 71%, 29%)
HSVhsv(331, 83%, 49%)
CMYKcmyk(0%, 83.2%, 43.2%, 51%)
CIE-LABlab(27.72, 46.53, -2.69)
CIE-LCHlch(27.72, 46.61, 356.70°)
OKLaboklab(39.57% 0.1432 -0.0065)
OKLCHoklch(39.57% 0.143 357.4)
XYZxyz(9.8637, 5.3525, 6.4737)
Luminance0.0535 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1547 #157D4B
analogous
#7D157B #7D1547 #7D1715
triadic
#7D1547 #477D15 #15477D
tetradic
#7D1547 #7B7D15 #157D4B #17157D
square
#7D1547 #7B7D15 #157D4B #17157D
split-complementary
#7D1547 #157D17 #157B7D
monochromatic
#1A040F #490C29 #7D1547 #B11E65 #DC3083

Accessibility & contrast

On white

10.14
#7D1547 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#7D1547 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1547
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1547#FFFFFF#000000##FFFFFF
##7D15471.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3548
Deuteranopia (green-blind)
#494845
Tritanopia (blue-blind)
#88012C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7d1547;
/* rgb */ color: rgb(125, 21, 71);
/* oklch */ color: oklch(39.6% 0.143 357.4);
Tailwind
colors: {
  custom: {
    50: '#a75f7a',
    500: '#7d1547',
    950: '#000000',
  },
}
SCSS
$custom: #7d1547;
$custom-light: #a75f7a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1547",
  "rgb": {
    "r": 125,
    "g": 21,
    "b": 71
  },
  "hsl": {
    "h": 331.154,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39575,
    "c": 0.14335,
    "h": 357.4
  },
  "luminance": 0.05351
}

Semantic roles & 50–950 ramp

primary
#7D1547
secondary
#3CB279
accent
#EE973A
background
#FAF5F7
surface
#F4EAED
border
#CEC6C8
text
#100509
muted
#7F797B

Preview Lab

Preview with #7D1547

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

Preview Lab → · Contrast checker → · Palette generator →

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