#7B1855#7B1855

#7B1855 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 40.0% C 0.146 H 348.2°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#7B1855
RGBrgb(123, 24, 85)
HSLhsl(323, 67%, 29%)
HSVhsv(323, 80%, 48%)
CMYKcmyk(0%, 80.5%, 30.9%, 51.8%)
CIE-LABlab(28.17, 46.71, -11.36)
CIE-LCHlch(28.17, 48.07, 346.33°)
OKLaboklab(40.01% 0.1426 -0.0299)
OKLCHoklch(40.01% 0.146 348.2)
XYZxyz(10.1352, 5.5213, 9.1245)
Luminance0.0552 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B1855 #187B3E
analogous
#70187B #7B1855 #7B1824
triadic
#7B1855 #557B18 #18557B
tetradic
#7B1855 #7B7018 #187B3E #18247B
square
#7B1855 #7B7018 #187B3E #18247B
split-complementary
#7B1855 #247B18 #187B70
monochromatic
#1A0512 #480E32 #7B1855 #AE2278 #D8369A

Accessibility & contrast

On white

9.98
#7B1855 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#7B1855 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B1855
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B1855#FFFFFF#000000##FFFFFF
##7B18551.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283857
Deuteranopia (green-blind)
#454953
Tritanopia (blue-blind)
#841334
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #7b1855;
/* rgb */ color: rgb(123, 24, 85);
/* oklch */ color: oklch(40.0% 0.146 348.2);
Tailwind
colors: {
  custom: {
    50: '#a56185',
    500: '#7b1855',
    950: '#000000',
  },
}
SCSS
$custom: #7b1855;
$custom-light: #a56185;
$custom-dark: #000000;
JSON
{
  "hex": "#7b1855",
  "rgb": {
    "r": 123,
    "g": 24,
    "b": 85
  },
  "hsl": {
    "h": 323.03,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40011,
    "c": 0.14567,
    "h": 348.2
  },
  "luminance": 0.0552
}

Semantic roles & 50–950 ramp

primary
#7B1855
secondary
#3FB06A
accent
#EA803E
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050B
muted
#7F7A7C

Preview Lab

Preview with #7B1855

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

Preview Lab → · Contrast checker → · Palette generator →

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