#7C154F#7C154F

#7C154F is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.7% C 0.146 H 352.0°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#7C154F
RGBrgb(124, 21, 79)
HSLhsl(326, 71%, 28%)
HSVhsv(326, 83%, 49%)
CMYKcmyk(0%, 83.1%, 36.3%, 51.4%)
CIE-LABlab(27.81, 47.14, -7.91)
CIE-LCHlch(27.81, 47.80, 350.47°)
OKLaboklab(39.7% 0.1448 -0.0204)
OKLCHoklch(39.7% 0.146 352)
XYZxyz(9.9923, 5.3872, 7.9093)
Luminance0.0539 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C154F #157C42
analogous
#75157C #7C154F #7C151B
triadic
#7C154F #4F7C15 #154F7C
tetradic
#7C154F #7C7515 #157C42 #151B7C
square
#7C154F #7C7515 #157C42 #151B7C
split-complementary
#7C154F #1B7C15 #157C75
monochromatic
#1A0411 #480C2E #7C154F #B01E70 #DC3091

Accessibility & contrast

On white

10.11
#7C154F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#7C154F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C154F
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C154F#FFFFFF#000000##FFFFFF
##7C154F1.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293650
Deuteranopia (green-blind)
#47484D
Tritanopia (blue-blind)
#860930
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7c154f;
/* rgb */ color: rgb(124, 21, 79);
/* oklch */ color: oklch(39.7% 0.146 352.0);
Tailwind
colors: {
  custom: {
    50: '#a66080',
    500: '#7c154f',
    950: '#000000',
  },
}
SCSS
$custom: #7c154f;
$custom-light: #a66080;
$custom-dark: #000000;
JSON
{
  "hex": "#7c154f",
  "rgb": {
    "r": 124,
    "g": 21,
    "b": 79
  },
  "hsl": {
    "h": 326.214,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39704,
    "c": 0.1462,
    "h": 352
  },
  "luminance": 0.05386
}

Semantic roles & 50–950 ramp

primary
#7C154F
secondary
#3CB16F
accent
#EE893A
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C

Preview Lab

Preview with #7C154F

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

Preview Lab → · Contrast checker → · Palette generator →

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