#7C152F#7C152F

#7C152F is a dark, vivid pink. Relative luminance 0.050; OKLCH L 38.6% C 0.136 H 12.8°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#7C152F
RGBrgb(124, 21, 47)
HSLhsl(345, 71%, 28%)
HSVhsv(345, 83%, 49%)
CMYKcmyk(0%, 83.1%, 62.1%, 51.4%)
CIE-LABlab(26.81, 44.15, 12.22)
CIE-LCHlch(26.81, 45.81, 15.48°)
OKLaboklab(38.65% 0.1331 0.0301)
OKLCHoklch(38.65% 0.136 12.8)
XYZxyz(9.0944, 5.0280, 3.1804)
Luminance0.0503 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C152F #157C62
analogous
#7C1562 #7C152F #7C2E15
triadic
#7C152F #2F7C15 #152F7C
tetradic
#7C152F #627C15 #157C62 #2E157C
square
#7C152F #627C15 #157C62 #2E157C
split-complementary
#7C152F #157C2E #15627C
monochromatic
#1A040A #480C1B #7C152F #B01E43 #DC305B

Accessibility & contrast

On white

10.47
#7C152F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#7C152F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C152F
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C152F#FFFFFF#000000##FFFFFF
##7C152F1.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33322F
Deuteranopia (green-blind)
#4D472C
Tritanopia (blue-blind)
#880020
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7c152f;
/* rgb */ color: rgb(124, 21, 47);
/* oklch */ color: oklch(38.6% 0.136 12.8);
Tailwind
colors: {
  custom: {
    50: '#a85e67',
    500: '#7c152f',
    950: '#000000',
  },
}
SCSS
$custom: #7c152f;
$custom-light: #a85e67;
$custom-dark: #000000;
JSON
{
  "hex": "#7c152f",
  "rgb": {
    "r": 124,
    "g": 21,
    "b": 47
  },
  "hsl": {
    "h": 344.854,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.3865,
    "c": 0.13647,
    "h": 12.8
  },
  "luminance": 0.05027
}

Semantic roles & 50–950 ramp

primary
#7C152F
secondary
#3CB194
accent
#EEC03A
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110506
muted
#80797A

Preview Lab

Preview with #7C152F

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

Preview Lab → · Contrast checker → · Palette generator →

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