#631152#631152

#631152 is a dark, vivid pink. Relative luminance 0.037; OKLCH L 35.0% C 0.135 H 338.2°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#631152
RGBrgb(99, 17, 82)
HSLhsl(312, 71%, 23%)
HSVhsv(312, 83%, 39%)
CMYKcmyk(0%, 82.8%, 17.2%, 61.2%)
CIE-LABlab(22.53, 42.21, -18.47)
CIE-LCHlch(22.53, 46.07, 336.37°)
OKLaboklab(35% 0.1251 -0.0501)
OKLCHoklch(35% 0.135 338.2)
XYZxyz(6.8692, 3.6634, 8.3264)
Luminance0.0366 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#631152 #116322
analogous
#4B1163 #631152 #631129
triadic
#631152 #526311 #115263
tetradic
#631152 #634B11 #116322 #112963
square
#631152 #634B11 #116322 #112963
split-complementary
#631152 #296311 #11634B
monochromatic
#1A0416 #2F0827 #631152 #971A7D #CB23A9

Accessibility & contrast

On white

12.12
#631152 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#631152 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #631152
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##631152#FFFFFF#000000##FFFFFF
##6311521.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152E54
Deuteranopia (green-blind)
#323A50
Tritanopia (blue-blind)
#691630
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #631152;
/* rgb */ color: rgb(99, 17, 82);
/* oklch */ color: oklch(35.0% 0.135 338.2);
Tailwind
colors: {
  custom: {
    50: '#935a83',
    500: '#631152',
    950: '#000000',
  },
}
SCSS
$custom: #631152;
$custom-light: #935a83;
$custom-dark: #000000;
JSON
{
  "hex": "#631152",
  "rgb": {
    "r": 99,
    "g": 17,
    "b": 82
  },
  "hsl": {
    "h": 312.439,
    "s": 70.69,
    "l": 22.745
  },
  "oklch": {
    "l": 0.35004,
    "c": 0.13481,
    "h": 338.2
  },
  "luminance": 0.03663
}

Semantic roles & 50–950 ramp

primary
#631152
secondary
#349B4A
accent
#ED5F3A
background
#F9F5F8
surface
#F2E9EF
border
#CCC5CA
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #631152

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

Preview Lab → · Contrast checker → · Palette generator →

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