#7D1338#7D1338

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

Color values

HEX#7D1338
RGBrgb(125, 19, 56)
HSLhsl(339, 74%, 28%)
HSVhsv(339, 85%, 49%)
CMYKcmyk(0%, 84.8%, 55.2%, 51%)
CIE-LABlab(27.05, 45.69, 6.48)
CIE-LCHlch(27.05, 46.15, 8.07°)
OKLaboklab(38.94% 0.1395 0.0167)
OKLCHoklch(38.94% 0.14 6.8)
XYZxyz(9.4050, 5.1126, 4.2322)
Luminance0.0511 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D1338 #137D58
analogous
#7D136D #7D1338 #7D2313
triadic
#7D1338 #387D13 #13387D
tetradic
#7D1338 #6D7D13 #137D58 #23137D
square
#7D1338 #6D7D13 #137D58 #23137D
split-complementary
#7D1338 #137D23 #136D7D
monochromatic
#1B040C #480B20 #7D1338 #B21B50 #DF2C6A

Accessibility & contrast

On white

10.38
#7D1338 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D1338
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D1338#FFFFFF#000000##FFFFFF
##7D13381.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d1338;
/* rgb */ color: rgb(125, 19, 56);
/* oklch */ color: oklch(38.9% 0.140 6.8);
Tailwind
colors: {
  custom: {
    50: '#a85e6e',
    500: '#7d1338',
    950: '#000000',
  },
}
SCSS
$custom: #7d1338;
$custom-light: #a85e6e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d1338",
  "rgb": {
    "r": 125,
    "g": 19,
    "b": 56
  },
  "hsl": {
    "h": 339.057,
    "s": 73.611,
    "l": 28.235
  },
  "oklch": {
    "l": 0.38937,
    "c": 0.14047,
    "h": 6.8
  },
  "luminance": 0.05111
}

Semantic roles & 50–950 ramp

primary
#7D1338
secondary
#39B388
accent
#F0B038
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110507
muted
#80797A

Preview Lab

Preview with #7D1338

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

Preview Lab → · Contrast checker → · Palette generator →

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