#7B1338#7B1338

#7B1338 is a dark, vivid pink. Relative luminance 0.050; OKLCH L 38.6% C 0.139 H 6.3°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#7B1338
RGBrgb(123, 19, 56)
HSLhsl(339, 73%, 28%)
HSVhsv(339, 85%, 48%)
CMYKcmyk(0%, 84.6%, 54.5%, 51.8%)
CIE-LABlab(26.63, 45.12, 5.82)
CIE-LCHlch(26.63, 45.49, 7.36°)
OKLaboklab(38.55% 0.1378 0.0151)
OKLCHoklch(38.55% 0.139 6.3)
XYZxyz(9.1159, 4.9635, 4.2187)
Luminance0.0496 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1338 #137B56
analogous
#7B136C #7B1338 #7B2213
triadic
#7B1338 #387B13 #13387B
tetradic
#7B1338 #6C7B13 #137B56 #22137B
square
#7B1338 #6C7B13 #137B56 #22137B
split-complementary
#7B1338 #137B22 #136C7B
monochromatic
#1B040C #460B20 #7B1338 #B01B50 #DE2A6A

Accessibility & contrast

On white

10.54
#7B1338 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#7B1338 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1338
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1338#FFFFFF#000000##FFFFFF
##7B13381.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F3239
Deuteranopia (green-blind)
#4A4636
Tritanopia (blue-blind)
#870024
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7b1338;
/* rgb */ color: rgb(123, 19, 56);
/* oklch */ color: oklch(38.6% 0.139 6.3);
Tailwind
colors: {
  custom: {
    50: '#a75e6e',
    500: '#7b1338',
    950: '#000000',
  },
}
SCSS
$custom: #7b1338;
$custom-light: #a75e6e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1338",
  "rgb": {
    "r": 123,
    "g": 19,
    "b": 56
  },
  "hsl": {
    "h": 338.654,
    "s": 73.239,
    "l": 27.843
  },
  "oklch": {
    "l": 0.38551,
    "c": 0.13866,
    "h": 6.3
  },
  "luminance": 0.04962
}

Semantic roles & 50–950 ramp

primary
#7B1338
secondary
#39B186
accent
#F0AE38
background
#FAF5F6
surface
#F4EAEB
border
#CEC6C6
text
#100507
muted
#7F797A

Preview Lab

Preview with #7B1338

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

Preview Lab → · Contrast checker → · Palette generator →

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