#952257#952257

#952257 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.5% C 0.156 H 357.6°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#952257
RGBrgb(149, 34, 87)
HSLhsl(332, 63%, 36%)
HSVhsv(332, 77%, 58%)
CMYKcmyk(0%, 77.2%, 41.6%, 41.6%)
CIE-LABlab(34.44, 50.88, -2.74)
CIE-LCHlch(34.44, 50.96, 356.91°)
OKLaboklab(45.54% 0.1563 -0.0066)
OKLCHoklch(45.54% 0.156 357.6)
XYZxyz(14.6878, 8.2236, 9.8288)
Luminance0.0822 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952257 #229560
analogous
#952290 #952257 #952622
triadic
#952257 #579522 #225795
tetradic
#952257 #909522 #229560 #262295
square
#952257 #909522 #229560 #262295
split-complementary
#952257 #229526 #229095
monochromatic
#310B1D #63173A #952257 #C72D74 #D95894

Accessibility & contrast

On white

7.94
#952257 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#952257 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #952257
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952257#FFFFFF#000000##FFFFFF
##9522571.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4358
Deuteranopia (green-blind)
#5A5954
Tritanopia (blue-blind)
#A21139
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #952257;
/* rgb */ color: rgb(149, 34, 87);
/* oklch */ color: oklch(45.5% 0.156 357.6);
Tailwind
colors: {
  custom: {
    50: '#b96986',
    500: '#952257',
    950: '#000000',
  },
}
SCSS
$custom: #952257;
$custom-light: #b96986;
$custom-dark: #000000;
JSON
{
  "hex": "#952257",
  "rgb": {
    "r": 149,
    "g": 34,
    "b": 87
  },
  "hsl": {
    "h": 332.348,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45544,
    "c": 0.15647,
    "h": 357.6
  },
  "luminance": 0.08222
}

Semantic roles & 50–950 ramp

primary
#952257
secondary
#56BD8D
accent
#E69A42
background
#FBF6F8
surface
#F7EBEF
border
#D0C6CA
text
#12070B
muted
#817A7C

Preview Lab

Preview with #952257

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

Preview Lab → · Contrast checker → · Palette generator →

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