#7D1537#7D1537

#7D1537 is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.1% C 0.139 H 7.9°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#7D1537
RGBrgb(125, 21, 55)
HSLhsl(340, 71%, 29%)
HSVhsv(340, 83%, 49%)
CMYKcmyk(0%, 83.2%, 56%, 51%)
CIE-LABlab(27.22, 45.05, 7.40)
CIE-LCHlch(27.22, 45.65, 9.33°)
OKLaboklab(39.05% 0.1373 0.0189)
OKLCHoklch(39.05% 0.139 7.9)
XYZxyz(9.4161, 5.1735, 4.1165)
Luminance0.0517 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1537 #157D5B
analogous
#7D156B #7D1537 #7D2715
triadic
#7D1537 #377D15 #15377D
tetradic
#7D1537 #6B7D15 #157D5B #27157D
square
#7D1537 #6B7D15 #157D5B #27157D
split-complementary
#7D1537 #157D27 #156B7D
monochromatic
#1A040C #490C20 #7D1537 #B11E4E #DC3068

Accessibility & contrast

On white

10.32
#7D1537 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#7D1537 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1537
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1537#FFFFFF#000000##FFFFFF
##7D15371.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d1537;
/* rgb */ color: rgb(125, 21, 55);
/* oklch */ color: oklch(39.1% 0.139 7.9);
Tailwind
colors: {
  custom: {
    50: '#a85f6d',
    500: '#7d1537',
    950: '#000000',
  },
}
SCSS
$custom: #7d1537;
$custom-light: #a85f6d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1537",
  "rgb": {
    "r": 125,
    "g": 21,
    "b": 55
  },
  "hsl": {
    "h": 340.385,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39053,
    "c": 0.13855,
    "h": 7.9
  },
  "luminance": 0.05172
}

Semantic roles & 50–950 ramp

primary
#7D1537
secondary
#3CB28B
accent
#EEB33A
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110507
muted
#80797A

Preview Lab

Preview with #7D1537

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

Preview Lab → · Contrast checker → · Palette generator →

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