#7C1538#7C1538

#7C1538 is a dark, vivid pink. Relative luminance 0.051; OKLCH L 38.9% C 0.138 H 6.9°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#7C1538
RGBrgb(124, 21, 56)
HSLhsl(340, 71%, 28%)
HSVhsv(340, 83%, 49%)
CMYKcmyk(0%, 83.1%, 54.8%, 51.4%)
CIE-LABlab(27.04, 44.84, 6.43)
CIE-LCHlch(27.04, 45.30, 8.17°)
OKLaboklab(38.89% 0.1368 0.0166)
OKLCHoklch(38.89% 0.138 6.9)
XYZxyz(9.2950, 5.1083, 4.2372)
Luminance0.0511 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1538 #157C59
analogous
#7C156B #7C1538 #7C2615
triadic
#7C1538 #387C15 #15387C
tetradic
#7C1538 #6B7C15 #157C59 #26157C
square
#7C1538 #6B7C15 #157C59 #26157C
split-complementary
#7C1538 #157C26 #156B7C
monochromatic
#1A040C #480C20 #7C1538 #B01E50 #DC306A

Accessibility & contrast

On white

10.39
#7C1538 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#7C1538 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1538
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1538#FFFFFF#000000##FFFFFF
##7C15381.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313339
Deuteranopia (green-blind)
#4C4736
Tritanopia (blue-blind)
#880025
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7c1538;
/* rgb */ color: rgb(124, 21, 56);
/* oklch */ color: oklch(38.9% 0.138 6.9);
Tailwind
colors: {
  custom: {
    50: '#a85f6e',
    500: '#7c1538',
    950: '#000000',
  },
}
SCSS
$custom: #7c1538;
$custom-light: #a85f6e;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1538",
  "rgb": {
    "r": 124,
    "g": 21,
    "b": 56
  },
  "hsl": {
    "h": 339.612,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.3889,
    "c": 0.13782,
    "h": 6.9
  },
  "luminance": 0.05107
}

Semantic roles & 50–950 ramp

primary
#7C1538
secondary
#3CB189
accent
#EEB13A
background
#FAF5F6
surface
#F5EAEB
border
#CFC6C6
text
#110507
muted
#80797A

Preview Lab

Preview with #7C1538

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

Preview Lab → · Contrast checker → · Palette generator →

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