#7C154D#7C154D

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

Color values

HEX#7C154D
RGBrgb(124, 21, 77)
HSLhsl(327, 71%, 28%)
HSVhsv(327, 83%, 49%)
CMYKcmyk(0%, 83.1%, 37.9%, 51.4%)
CIE-LABlab(27.73, 46.91, -6.70)
CIE-LCHlch(27.73, 47.39, 351.87°)
OKLaboklab(39.62% 0.1442 -0.0171)
OKLCHoklch(39.62% 0.145 353.2)
XYZxyz(9.9206, 5.3585, 7.5316)
Luminance0.0536 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C154D #157C44
analogous
#77157C #7C154D #7C1519
triadic
#7C154D #4D7C15 #154D7C
tetradic
#7C154D #7C7715 #157C44 #15197C
square
#7C154D #7C7715 #157C44 #15197C
split-complementary
#7C154D #197C15 #157C77
monochromatic
#1A0410 #480C2C #7C154D #B01E6D #DC308D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C154D#FFFFFF#000000##FFFFFF
##7C154D1.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)
#2A364E
Deuteranopia (green-blind)
#47484B
Tritanopia (blue-blind)
#86072F
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #7c154d;
/* rgb */ color: rgb(124, 21, 77);
/* oklch */ color: oklch(39.6% 0.145 353.2);
Tailwind
colors: {
  custom: {
    50: '#a65f7e',
    500: '#7c154d',
    950: '#000000',
  },
}
SCSS
$custom: #7c154d;
$custom-light: #a65f7e;
$custom-dark: #000000;
JSON
{
  "hex": "#7c154d",
  "rgb": {
    "r": 124,
    "g": 21,
    "b": 77
  },
  "hsl": {
    "h": 327.379,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39622,
    "c": 0.14522,
    "h": 353.2
  },
  "luminance": 0.05357
}

Semantic roles & 50–950 ramp

primary
#7C154D
secondary
#3CB171
accent
#EE8C3A
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7C154D

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

Preview Lab → · Contrast checker → · Palette generator →

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