#7B235B#7B235B

#7B235B is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.3% C 0.136 H 345.6°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#7B235B
RGBrgb(123, 35, 91)
HSLhsl(322, 56%, 31%)
HSVhsv(322, 72%, 48%)
CMYKcmyk(0%, 71.5%, 26%, 51.8%)
CIE-LABlab(29.84, 43.54, -12.76)
CIE-LCHlch(29.84, 45.37, 343.67°)
OKLaboklab(41.31% 0.1317 -0.0338)
OKLCHoklch(41.31% 0.136 345.6)
XYZxyz(10.6582, 6.1695, 10.5250)
Luminance0.0617 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B235B #237B43
analogous
#6F237B #7B235B #7B232F
triadic
#7B235B #5B7B23 #235B7B
tetradic
#7B235B #7B6F23 #237B43 #232F7B
square
#7B235B #7B6F23 #237B43 #232F7B
split-complementary
#7B235B #2F7B23 #237B6F
monochromatic
#1C0815 #4B1538 #7B235B #AB317E #CC4C9E

Accessibility & contrast

On white

9.40
#7B235B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#7B235B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B235B
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B235B#FFFFFF#000000##FFFFFF
##7B235B1.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3D5D
Deuteranopia (green-blind)
#474C59
Tritanopia (blue-blind)
#83213B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7b235b;
/* rgb */ color: rgb(123, 35, 91);
/* oklch */ color: oklch(41.3% 0.136 345.6);
Tailwind
colors: {
  custom: {
    50: '#a46689',
    500: '#7b235b',
    950: '#000000',
  },
}
SCSS
$custom: #7b235b;
$custom-light: #a46689;
$custom-dark: #000000;
JSON
{
  "hex": "#7b235b",
  "rgb": {
    "r": 123,
    "g": 35,
    "b": 91
  },
  "hsl": {
    "h": 321.818,
    "s": 55.696,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41308,
    "c": 0.13594,
    "h": 345.6
  },
  "luminance": 0.06168
}

Semantic roles & 50–950 ramp

primary
#7B235B
secondary
#4CAE70
accent
#DF7F49
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7B235B

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

Preview Lab → · Contrast checker → · Palette generator →

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