#7C2138#7C2138

#7C2138 is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.0% C 0.125 H 10.0°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#7C2138
RGBrgb(124, 33, 56)
HSLhsl(345, 58%, 31%)
HSVhsv(345, 73%, 49%)
CMYKcmyk(0%, 73.4%, 54.8%, 51.4%)
CIE-LABlab(28.54, 40.65, 8.53)
CIE-LCHlch(28.54, 41.53, 11.85°)
OKLaboklab(40% 0.1233 0.0217)
OKLCHoklch(40% 0.125 10)
XYZxyz(9.5707, 5.6596, 4.3291)
Luminance0.0566 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2138 #217C65
analogous
#7C2165 #7C2138 #7C3721
triadic
#7C2138 #387C21 #21387C
tetradic
#7C2138 #657C21 #217C65 #37217C
square
#7C2138 #657C21 #217C65 #37217C
split-complementary
#7C2138 #217C37 #21657C
monochromatic
#1B070C #4C1422 #7C2138 #AC2E4E #CF496B

Accessibility & contrast

On white

9.85
#7C2138 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#7C2138 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2138
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2138#FFFFFF#000000##FFFFFF
##7C21381.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373838
Deuteranopia (green-blind)
#4F4A36
Tritanopia (blue-blind)
#880D2A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #7c2138;
/* rgb */ color: rgb(124, 33, 56);
/* oklch */ color: oklch(40.0% 0.125 10.0);
Tailwind
colors: {
  custom: {
    50: '#a7646e',
    500: '#7c2138',
    950: '#000000',
  },
}
SCSS
$custom: #7c2138;
$custom-light: #a7646e;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2138",
  "rgb": {
    "r": 124,
    "g": 33,
    "b": 56
  },
  "hsl": {
    "h": 344.835,
    "s": 57.962,
    "l": 30.784
  },
  "oklch": {
    "l": 0.39995,
    "c": 0.12522,
    "h": 10
  },
  "luminance": 0.05658
}

Semantic roles & 50–950 ramp

primary
#7C2138
secondary
#4AAF95
accent
#E1BA47
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100607
muted
#7F7A7A

Preview Lab

Preview with #7C2138

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

Preview Lab → · Contrast checker → · Palette generator →

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