#7C123A#7C123A

#7C123A is a dark, vivid pink. Relative luminance 0.050; OKLCH L 38.7% C 0.141 H 5.1°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#7C123A
RGBrgb(124, 18, 58)
HSLhsl(337, 75%, 28%)
HSVhsv(337, 85%, 49%)
CMYKcmyk(0%, 85.5%, 53.2%, 51.4%)
CIE-LABlab(26.80, 45.84, 4.74)
CIE-LCHlch(26.80, 46.09, 5.90°)
OKLaboklab(38.74% 0.1403 0.0124)
OKLCHoklch(38.74% 0.141 5.1)
XYZxyz(9.2931, 5.0245, 4.4827)
Luminance0.0502 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C123A #127C54
analogous
#7C126F #7C123A #7C1F12
triadic
#7C123A #3A7C12 #123A7C
tetradic
#7C123A #6F7C12 #127C54 #1F127C
square
#7C123A #6F7C12 #127C54 #1F127C
split-complementary
#7C123A #127C1F #126F7C
monochromatic
#1B040C #470A21 #7C123A #B11A53 #E0296E

Accessibility & contrast

On white

10.48
#7C123A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#7C123A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C123A
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C123A#FFFFFF#000000##FFFFFF
##7C123A1.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F323B
Deuteranopia (green-blind)
#4B4738
Tritanopia (blue-blind)
#880024
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #7c123a;
/* rgb */ color: rgb(124, 18, 58);
/* oklch */ color: oklch(38.7% 0.141 5.1);
Tailwind
colors: {
  custom: {
    50: '#a85e6f',
    500: '#7c123a',
    950: '#000000',
  },
}
SCSS
$custom: #7c123a;
$custom-light: #a85e6f;
$custom-dark: #000000;
JSON
{
  "hex": "#7c123a",
  "rgb": {
    "r": 124,
    "g": 18,
    "b": 58
  },
  "hsl": {
    "h": 337.358,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.38735,
    "c": 0.14086,
    "h": 5.1
  },
  "luminance": 0.05023
}

Semantic roles & 50–950 ramp

primary
#7C123A
secondary
#38B284
accent
#F1AB37
background
#FAF5F6
surface
#F5EAEC
border
#CFC6C7
text
#110507
muted
#80797A

Preview Lab

Preview with #7C123A

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

Preview Lab → · Contrast checker → · Palette generator →

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