#915172#915172

#915172 is a mid, moderate pink. Relative luminance 0.131; OKLCH L 52.0% C 0.095 H 348.7°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#915172
RGBrgb(145, 81, 114)
HSLhsl(329, 28%, 44%)
HSVhsv(329, 44%, 57%)
CMYKcmyk(0%, 44.1%, 21.4%, 43.1%)
CIE-LABlab(42.94, 31.22, -7.15)
CIE-LCHlch(42.94, 32.03, 347.10°)
OKLaboklab(52.05% 0.0933 -0.0187)
OKLCHoklch(52.05% 0.095 348.7)
XYZxyz(17.6571, 13.1208, 17.5189)
Luminance0.1312 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#915172 #519170
analogous
#905191 #915172 #915152
triadic
#915172 #729151 #517291
tetradic
#915172 #919051 #519170 #515291
square
#915172 #919051 #519170 #515291
split-complementary
#915172 #529151 #519190
monochromatic
#422534 #6A3B53 #915172 #AF7091 #C597AF

Accessibility & contrast

On white

5.79
#915172 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#915172 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #915172
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##915172#FFFFFF#000000##FFFFFF
##9151721.005.793.625.79
#FFFFFF5.791.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575F73
Deuteranopia (green-blind)
#676970
Tritanopia (blue-blind)
#99505D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #915172;
/* rgb */ color: rgb(145, 81, 114);
/* oklch */ color: oklch(52.0% 0.095 348.7);
Tailwind
colors: {
  custom: {
    50: '#b3839a',
    500: '#915172',
    950: '#000000',
  },
}
SCSS
$custom: #915172;
$custom-light: #b3839a;
$custom-dark: #000000;
JSON
{
  "hex": "#915172",
  "rgb": {
    "r": 145,
    "g": 81,
    "b": 114
  },
  "hsl": {
    "h": 329.063,
    "s": 28.319,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52048,
    "c": 0.09514,
    "h": 348.7
  },
  "luminance": 0.1312
}

Semantic roles & 50–950 ramp

primary
#915172
secondary
#8CB29E
accent
#C59263
background
#FBF8F9
surface
#F6EFF2
border
#D0CACC
text
#110B0E
muted
#807C7E

Preview Lab

Preview with #915172

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

Preview Lab → · Contrast checker → · Palette generator →

#915172 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva