#95257F#95257F

#95257F is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.5% C 0.176 H 337.2°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#95257F
RGBrgb(149, 37, 127)
HSLhsl(312, 60%, 36%)
HSVhsv(312, 75%, 58%)
CMYKcmyk(0%, 75.2%, 14.8%, 41.6%)
CIE-LABlab(36.45, 54.99, -25.06)
CIE-LCHlch(36.45, 60.43, 335.50°)
OKLaboklab(47.55% 0.1621 -0.0681)
OKLCHoklch(47.55% 0.176 337.2)
XYZxyz(16.8871, 9.2466, 20.9700)
Luminance0.0925 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#95257F #25953B
analogous
#732595 #95257F #952547
triadic
#95257F #7F9525 #257F95
tetradic
#95257F #957325 #25953B #254795
square
#95257F #957325 #25953B #254795
split-complementary
#95257F #479525 #259573
monochromatic
#330D2B #641955 #95257F #C631A9 #D75EBF

Accessibility & contrast

On white

7.37
#95257F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#95257F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #95257F
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##95257F#FFFFFF#000000##FFFFFF
##95257F1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294B81
Deuteranopia (green-blind)
#4F5C7C
Tritanopia (blue-blind)
#9D2C4F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #95257f;
/* rgb */ color: rgb(149, 37, 127);
/* oklch */ color: oklch(47.5% 0.176 337.2);
Tailwind
colors: {
  custom: {
    50: '#b86ba4',
    500: '#95257f',
    950: '#000000',
  },
}
SCSS
$custom: #95257f;
$custom-light: #b86ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#95257f",
  "rgb": {
    "r": 149,
    "g": 37,
    "b": 127
  },
  "hsl": {
    "h": 311.786,
    "s": 60.215,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47548,
    "c": 0.17587,
    "h": 337.2
  },
  "luminance": 0.09245
}

Semantic roles & 50–950 ramp

primary
#95257F
secondary
#5ABC6D
accent
#E36444
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #95257F

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

Preview Lab → · Contrast checker → · Palette generator →

#95257F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva