#951852#951852

#951852 is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.6% C 0.164 H 359.1°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#951852
RGBrgb(149, 24, 82)
HSLhsl(332, 72%, 34%)
HSVhsv(332, 84%, 58%)
CMYKcmyk(0%, 83.9%, 45%, 41.6%)
CIE-LABlab(33.25, 53.30, -1.25)
CIE-LCHlch(33.25, 53.31, 358.65°)
OKLaboklab(44.62% 0.1641 -0.0027)
OKLCHoklch(44.62% 0.164 359.1)
XYZxyz(14.2452, 7.6540, 8.7082)
Luminance0.0765 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951852 #18955B
analogous
#951891 #951852 #951D18
triadic
#951852 #529518 #185295
tetradic
#951852 #919518 #18955B #1D1895
square
#951852 #919518 #18955B #1D1895
split-complementary
#951852 #18951D #189195
monochromatic
#2C0718 #601035 #951852 #CA206F #E1468E

Accessibility & contrast

On white

8.30
#951852 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#951852 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951852
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951852#FFFFFF#000000##FFFFFF
##9518521.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373F53
Deuteranopia (green-blind)
#59574F
Tritanopia (blue-blind)
#A20033
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #951852;
/* rgb */ color: rgb(149, 24, 82);
/* oklch */ color: oklch(44.6% 0.164 359.1);
Tailwind
colors: {
  custom: {
    50: '#ba6582',
    500: '#951852',
    950: '#000000',
  },
}
SCSS
$custom: #951852;
$custom-light: #ba6582;
$custom-dark: #000000;
JSON
{
  "hex": "#951852",
  "rgb": {
    "r": 149,
    "g": 24,
    "b": 82
  },
  "hsl": {
    "h": 332.16,
    "s": 72.254,
    "l": 33.922
  },
  "oklch": {
    "l": 0.44617,
    "c": 0.16407,
    "h": 359.1
  },
  "luminance": 0.07652
}

Semantic roles & 50–950 ramp

primary
#951852
secondary
#46C289
accent
#EF9A39
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13060A
muted
#827A7C

Preview Lab

Preview with #951852

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

Preview Lab → · Contrast checker → · Palette generator →

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