#7D1538#7D1538

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

Color values

HEX#7D1538
RGBrgb(125, 21, 56)
HSLhsl(340, 71%, 29%)
HSVhsv(340, 83%, 49%)
CMYKcmyk(0%, 83.2%, 55.2%, 51%)
CIE-LABlab(27.25, 45.13, 6.76)
CIE-LCHlch(27.25, 45.63, 8.52°)
OKLaboklab(39.08% 0.1377 0.0174)
OKLCHoklch(39.08% 0.139 7.2)
XYZxyz(9.4403, 5.1832, 4.2440)
Luminance0.0518 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1538 #157D5A
analogous
#7D156C #7D1538 #7D2615
triadic
#7D1538 #387D15 #15387D
tetradic
#7D1538 #6C7D15 #157D5A #26157D
square
#7D1538 #6C7D15 #157D5A #26157D
split-complementary
#7D1538 #157D26 #156C7D
monochromatic
#1A040C #490C21 #7D1538 #B11E4F #DC306A

Accessibility & contrast

On white

10.31
#7D1538 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#7D1538 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D1538
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1538#FFFFFF#000000##FFFFFF
##7D15381.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d1538;
/* rgb */ color: rgb(125, 21, 56);
/* oklch */ color: oklch(39.1% 0.139 7.2);
Tailwind
colors: {
  custom: {
    50: '#a85f6e',
    500: '#7d1538',
    950: '#000000',
  },
}
SCSS
$custom: #7d1538;
$custom-light: #a85f6e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1538",
  "rgb": {
    "r": 125,
    "g": 21,
    "b": 56
  },
  "hsl": {
    "h": 339.808,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39082,
    "c": 0.13874,
    "h": 7.2
  },
  "luminance": 0.05182
}

Semantic roles & 50–950 ramp

primary
#7D1538
secondary
#3CB28A
accent
#EEB13A
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110507
muted
#80797A

Preview Lab

Preview with #7D1538

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

Preview Lab → · Contrast checker → · Palette generator →

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