#7B274C#7B274C

#7B274C is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.1% C 0.122 H 356.7°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#7B274C
RGBrgb(123, 39, 76)
HSLhsl(334, 52%, 32%)
HSVhsv(334, 68%, 48%)
CMYKcmyk(0%, 68.3%, 38.2%, 51.8%)
CIE-LABlab(29.87, 39.86, -2.86)
CIE-LCHlch(29.87, 39.97, 355.89°)
OKLaboklab(41.15% 0.1219 -0.007)
OKLCHoklch(41.15% 0.122 356.7)
XYZxyz(10.1990, 6.1850, 7.4928)
Luminance0.0618 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B274C #277B56
analogous
#7B2776 #7B274C #7B2C27
triadic
#7B274C #4C7B27 #274C7B
tetradic
#7B274C #767B27 #277B56 #2C277B
square
#7B274C #767B27 #277B56 #2C277B
split-complementary
#7B274C #277B2C #27767B
monochromatic
#1E0A13 #4D182F #7B274C #A93669 #C95487

Accessibility & contrast

On white

9.39
#7B274C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#7B274C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B274C
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B274C#FFFFFF#000000##FFFFFF
##7B274C1.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363C4D
Deuteranopia (green-blind)
#4D4C4A
Tritanopia (blue-blind)
#851F36
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7b274c;
/* rgb */ color: rgb(123, 39, 76);
/* oklch */ color: oklch(41.1% 0.122 356.7);
Tailwind
colors: {
  custom: {
    50: '#a5677e',
    500: '#7b274c',
    950: '#000000',
  },
}
SCSS
$custom: #7b274c;
$custom-light: #a5677e;
$custom-dark: #000000;
JSON
{
  "hex": "#7b274c",
  "rgb": {
    "r": 123,
    "g": 39,
    "b": 76
  },
  "hsl": {
    "h": 333.571,
    "s": 51.852,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41147,
    "c": 0.12213,
    "h": 356.7
  },
  "luminance": 0.06184
}

Semantic roles & 50–950 ramp

primary
#7B274C
secondary
#51AD84
accent
#DB9C4C
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #7B274C

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

Preview Lab → · Contrast checker → · Palette generator →

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