#7B236B#7B236B

#7B236B is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.1% C 0.147 H 336.1°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#7B236B
RGBrgb(123, 35, 107)
HSLhsl(311, 56%, 31%)
HSVhsv(311, 72%, 48%)
CMYKcmyk(0%, 71.5%, 13%, 51.8%)
CIE-LABlab(30.58, 45.96, -21.95)
CIE-LCHlch(30.58, 50.94, 334.47°)
OKLaboklab(42.1% 0.1346 -0.0598)
OKLCHoklch(42.1% 0.147 336.1)
XYZxyz(11.4234, 6.4756, 14.5553)
Luminance0.0648 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B236B #237B33
analogous
#5F237B #7B236B #7B233F
triadic
#7B236B #6B7B23 #236B7B
tetradic
#7B236B #7B5F23 #237B33 #233F7B
square
#7B236B #7B5F23 #237B33 #233F7B
split-complementary
#7B236B #3F7B23 #237B5F
monochromatic
#1C0818 #4B1542 #7B236B #AB3194 #CC4CB5

Accessibility & contrast

On white

9.15
#7B236B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#7B236B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B236B
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B236B#FFFFFF#000000##FFFFFF
##7B236B1.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243F6D
Deuteranopia (green-blind)
#424D69
Tritanopia (blue-blind)
#812944
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7b236b;
/* rgb */ color: rgb(123, 35, 107);
/* oklch */ color: oklch(42.1% 0.147 336.1);
Tailwind
colors: {
  custom: {
    50: '#a46695',
    500: '#7b236b',
    950: '#000000',
  },
}
SCSS
$custom: #7b236b;
$custom-light: #a46695;
$custom-dark: #000000;
JSON
{
  "hex": "#7b236b",
  "rgb": {
    "r": 123,
    "g": 35,
    "b": 107
  },
  "hsl": {
    "h": 310.909,
    "s": 55.696,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42095,
    "c": 0.14726,
    "h": 336.1
  },
  "luminance": 0.06475
}

Semantic roles & 50–950 ramp

primary
#7B236B
secondary
#4CAE5E
accent
#DF6449
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7B236B

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

Preview Lab → · Contrast checker → · Palette generator →

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