#7D1F48#7D1F48

#7D1F48 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.5% C 0.133 H 358.5°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#7D1F48
RGBrgb(125, 31, 72)
HSLhsl(334, 60%, 31%)
HSVhsv(334, 75%, 49%)
CMYKcmyk(0%, 75.2%, 42.4%, 51%)
CIE-LABlab(28.93, 43.32, -1.57)
CIE-LCHlch(28.93, 43.35, 357.92°)
OKLaboklab(40.47% 0.1329 -0.0036)
OKLCHoklch(40.47% 0.133 358.5)
XYZxyz(10.1179, 5.8091, 6.7181)
Luminance0.0581 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1F48 #1F7D54
analogous
#7D1F77 #7D1F48 #7D251F
triadic
#7D1F48 #487D1F #1F487D
tetradic
#7D1F48 #777D1F #1F7D54 #251F7D
square
#7D1F48 #777D1F #1F7D54 #251F7D
split-complementary
#7D1F48 #1F7D25 #1F777D
monochromatic
#1B0710 #4C132C #7D1F48 #AE2B64 #D14582

Accessibility & contrast

On white

9.72
#7D1F48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#7D1F48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1F48
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1F48#FFFFFF#000000##FFFFFF
##7D1F481.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323949
Deuteranopia (green-blind)
#4C4B46
Tritanopia (blue-blind)
#881231
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #7d1f48;
/* rgb */ color: rgb(125, 31, 72);
/* oklch */ color: oklch(40.5% 0.133 358.5);
Tailwind
colors: {
  custom: {
    50: '#a7637a',
    500: '#7d1f48',
    950: '#000000',
  },
}
SCSS
$custom: #7d1f48;
$custom-light: #a7637a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1f48",
  "rgb": {
    "r": 125,
    "g": 31,
    "b": 72
  },
  "hsl": {
    "h": 333.83,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40473,
    "c": 0.13298,
    "h": 358.5
  },
  "luminance": 0.05808
}

Semantic roles & 50–950 ramp

primary
#7D1F48
secondary
#48B083
accent
#E39E44
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7D1F48

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

Preview Lab → · Contrast checker → · Palette generator →

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