#7A235B#7A235B

#7A235B is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.1% C 0.135 H 345.1°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#7A235B
RGBrgb(122, 35, 91)
HSLhsl(321, 55%, 31%)
HSVhsv(321, 71%, 48%)
CMYKcmyk(0%, 71.3%, 25.4%, 52.2%)
CIE-LABlab(29.65, 43.25, -13.06)
CIE-LCHlch(29.65, 45.18, 343.20°)
OKLaboklab(41.14% 0.1306 -0.0347)
OKLCHoklch(41.14% 0.135 345.1)
XYZxyz(10.5158, 6.0960, 10.5184)
Luminance0.0609 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A235B #237A42
analogous
#6D237A #7A235B #7A232F
triadic
#7A235B #5B7A23 #235B7A
tetradic
#7A235B #7A6D23 #237A42 #232F7A
square
#7A235B #7A6D23 #237A42 #232F7A
split-complementary
#7A235B #2F7A23 #237A6D
monochromatic
#1B0814 #4A1538 #7A235B #AA317E #CC4C9E

Accessibility & contrast

On white

9.46
#7A235B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#7A235B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A235B
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A235B#FFFFFF#000000##FFFFFF
##7A235B1.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3C5D
Deuteranopia (green-blind)
#464B59
Tritanopia (blue-blind)
#82223B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #7a235b;
/* rgb */ color: rgb(122, 35, 91);
/* oklch */ color: oklch(41.1% 0.135 345.1);
Tailwind
colors: {
  custom: {
    50: '#a46589',
    500: '#7a235b',
    950: '#000000',
  },
}
SCSS
$custom: #7a235b;
$custom-light: #a46589;
$custom-dark: #000000;
JSON
{
  "hex": "#7a235b",
  "rgb": {
    "r": 122,
    "g": 35,
    "b": 91
  },
  "hsl": {
    "h": 321.379,
    "s": 55.414,
    "l": 30.784
  },
  "oklch": {
    "l": 0.4114,
    "c": 0.13515,
    "h": 345.1
  },
  "luminance": 0.06095
}

Semantic roles & 50–950 ramp

primary
#7A235B
secondary
#4CAD6F
accent
#DF7E49
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #7A235B

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

Preview Lab → · Contrast checker → · Palette generator →

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