#7B236A#7B236A

#7B236A is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.0% C 0.146 H 336.6°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#7B236A
RGBrgb(123, 35, 106)
HSLhsl(312, 56%, 31%)
HSVhsv(312, 72%, 48%)
CMYKcmyk(0%, 71.5%, 13.8%, 51.8%)
CIE-LABlab(30.53, 45.80, -21.39)
CIE-LCHlch(30.53, 50.55, 334.97°)
OKLaboklab(42.04% 0.1345 -0.0581)
OKLCHoklch(42.04% 0.147 336.6)
XYZxyz(11.3711, 6.4546, 14.2799)
Luminance0.0645 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B236A #237B34
analogous
#60237B #7B236A #7B233E
triadic
#7B236A #6A7B23 #236A7B
tetradic
#7B236A #7B6023 #237B34 #233E7B
square
#7B236A #7B6023 #237B34 #233E7B
split-complementary
#7B236A #3E7B23 #237B60
monochromatic
#1C0818 #4B1541 #7B236A #AB3193 #CC4CB3

Accessibility & contrast

On white

9.17
#7B236A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#7B236A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B236A
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B236A#FFFFFF#000000##FFFFFF
##7B236A1.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253F6C
Deuteranopia (green-blind)
#424D68
Tritanopia (blue-blind)
#822843
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7b236a;
/* rgb */ color: rgb(123, 35, 106);
/* oklch */ color: oklch(42.0% 0.146 336.6);
Tailwind
colors: {
  custom: {
    50: '#a46695',
    500: '#7b236a',
    950: '#000000',
  },
}
SCSS
$custom: #7b236a;
$custom-light: #a46695;
$custom-dark: #000000;
JSON
{
  "hex": "#7b236a",
  "rgb": {
    "r": 123,
    "g": 35,
    "b": 106
  },
  "hsl": {
    "h": 311.591,
    "s": 55.696,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42042,
    "c": 0.1465,
    "h": 336.6
  },
  "luminance": 0.06454
}

Semantic roles & 50–950 ramp

primary
#7B236A
secondary
#4CAE5F
accent
#DF6649
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7B236A

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

Preview Lab → · Contrast checker → · Palette generator →

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