#905271#905271

#905271 is a mid, moderate pink. Relative luminance 0.132; OKLCH L 52.0% C 0.092 H 349.4°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#905271
RGBrgb(144, 82, 113)
HSLhsl(330, 27%, 44%)
HSVhsv(330, 43%, 56%)
CMYKcmyk(0%, 43.1%, 21.5%, 43.5%)
CIE-LABlab(43.00, 30.14, -6.47)
CIE-LCHlch(43.00, 30.83, 347.88°)
OKLaboklab(52.05% 0.0901 -0.0168)
OKLCHoklch(52.05% 0.092 349.4)
XYZxyz(17.4999, 13.1574, 17.2375)
Luminance0.1316 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#905271 #529071
analogous
#905290 #905271 #905252
triadic
#905271 #719052 #527190
tetradic
#905271 #909052 #529071 #525290
square
#905271 #909052 #529071 #525290
split-complementary
#905271 #529052 #529090
monochromatic
#422634 #693C52 #905271 #AE7190 #C498AE

Accessibility & contrast

On white

5.78
#905271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#905271 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #905271
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##905271#FFFFFF#000000##FFFFFF
##9052711.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585F72
Deuteranopia (green-blind)
#68696F
Tritanopia (blue-blind)
#98505D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #905271;
/* rgb */ color: rgb(144, 82, 113);
/* oklch */ color: oklch(52.0% 0.092 349.4);
Tailwind
colors: {
  custom: {
    50: '#b28499',
    500: '#905271',
    950: '#000000',
  },
}
SCSS
$custom: #905271;
$custom-light: #b28499;
$custom-dark: #000000;
JSON
{
  "hex": "#905271",
  "rgb": {
    "r": 144,
    "g": 82,
    "b": 113
  },
  "hsl": {
    "h": 330,
    "s": 27.434,
    "l": 44.314
  },
  "oklch": {
    "l": 0.5205,
    "c": 0.09164,
    "h": 349.4
  },
  "luminance": 0.13156
}

Semantic roles & 50–950 ramp

primary
#905271
secondary
#8CB19F
accent
#C49464
background
#FBF8F9
surface
#F6EFF2
border
#D0CACC
text
#110B0E
muted
#807C7E

Preview Lab

Preview with #905271

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

Preview Lab → · Contrast checker → · Palette generator →

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