#7C1F48#7C1F48

#7C1F48 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.3% C 0.132 H 358.1°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#7C1F48
RGBrgb(124, 31, 72)
HSLhsl(334, 60%, 30%)
HSVhsv(334, 75%, 49%)
CMYKcmyk(0%, 75%, 41.9%, 51.4%)
CIE-LABlab(28.73, 43.02, -1.88)
CIE-LCHlch(28.73, 43.06, 357.50°)
OKLaboklab(40.29% 0.132 -0.0044)
OKLCHoklch(40.29% 0.132 358.1)
XYZxyz(9.9726, 5.7342, 6.7113)
Luminance0.0573 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1F48 #1F7C53
analogous
#7C1F76 #7C1F48 #7C241F
triadic
#7C1F48 #487C1F #1F487C
tetradic
#7C1F48 #767C1F #1F7C53 #241F7C
square
#7C1F48 #767C1F #1F7C53 #241F7C
split-complementary
#7C1F48 #1F7C24 #1F767C
monochromatic
#1A070F #4B132C #7C1F48 #AD2B64 #D04582

Accessibility & contrast

On white

9.78
#7C1F48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#7C1F48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1F48
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1F48#FFFFFF#000000##FFFFFF
##7C1F481.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c1f48;
/* rgb */ color: rgb(124, 31, 72);
/* oklch */ color: oklch(40.3% 0.132 358.1);
Tailwind
colors: {
  custom: {
    50: '#a6637a',
    500: '#7c1f48',
    950: '#000000',
  },
}
SCSS
$custom: #7c1f48;
$custom-light: #a6637a;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1f48",
  "rgb": {
    "r": 124,
    "g": 31,
    "b": 72
  },
  "hsl": {
    "h": 333.548,
    "s": 60,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40295,
    "c": 0.13206,
    "h": 358.1
  },
  "luminance": 0.05733
}

Semantic roles & 50–950 ramp

primary
#7C1F48
secondary
#48AF82
accent
#E39D45
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7C1F48

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

Preview Lab → · Contrast checker → · Palette generator →

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