#7C1537#7C1537

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

Color values

HEX#7C1537
RGBrgb(124, 21, 55)
HSLhsl(340, 71%, 28%)
HSVhsv(340, 83%, 49%)
CMYKcmyk(0%, 83.1%, 55.6%, 51.4%)
CIE-LABlab(27.01, 44.76, 7.07)
CIE-LCHlch(27.01, 45.31, 8.98°)
OKLaboklab(38.86% 0.1364 0.0181)
OKLCHoklch(38.86% 0.138 7.6)
XYZxyz(9.2708, 5.0986, 4.1096)
Luminance0.0510 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1537 #157C5A
analogous
#7C156A #7C1537 #7C2615
triadic
#7C1537 #377C15 #15377C
tetradic
#7C1537 #6A7C15 #157C5A #26157C
square
#7C1537 #6A7C15 #157C5A #26157C
split-complementary
#7C1537 #157C26 #156A7C
monochromatic
#1A040C #480C20 #7C1537 #B01E4E #DC3068

Accessibility & contrast

On white

10.40
#7C1537 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C1537
10.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1537#FFFFFF#000000##FFFFFF
##7C15371.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313338
Deuteranopia (green-blind)
#4C4734
Tritanopia (blue-blind)
#880024
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #7c1537;
/* rgb */ color: rgb(124, 21, 55);
/* oklch */ color: oklch(38.9% 0.138 7.6);
Tailwind
colors: {
  custom: {
    50: '#a85f6d',
    500: '#7c1537',
    950: '#000000',
  },
}
SCSS
$custom: #7c1537;
$custom-light: #a85f6d;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1537",
  "rgb": {
    "r": 124,
    "g": 21,
    "b": 55
  },
  "hsl": {
    "h": 340.194,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38861,
    "c": 0.13762,
    "h": 7.6
  },
  "luminance": 0.05097
}

Semantic roles & 50–950 ramp

primary
#7C1537
secondary
#3CB18A
accent
#EEB23A
background
#FAF5F6
surface
#F5EAEB
border
#CFC6C6
text
#110507
muted
#80797A

Preview Lab

Preview with #7C1537

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

Preview Lab → · Contrast checker → · Palette generator →

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