#942258#942258

#942258 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.4% C 0.156 H 356.7°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#942258
RGBrgb(148, 34, 88)
HSLhsl(332, 63%, 36%)
HSVhsv(332, 77%, 58%)
CMYKcmyk(0%, 77%, 40.5%, 42%)
CIE-LABlab(34.29, 50.70, -3.65)
CIE-LCHlch(34.29, 50.84, 355.89°)
OKLaboklab(45.4% 0.1558 -0.0089)
OKLCHoklch(45.4% 0.156 356.7)
XYZxyz(14.5472, 8.1464, 10.0370)
Luminance0.0814 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#942258 #22945E
analogous
#942291 #942258 #942522
triadic
#942258 #589422 #225894
tetradic
#942258 #919422 #22945E #252294
square
#942258 #919422 #22945E #252294
split-complementary
#942258 #229425 #229194
monochromatic
#300B1D #62173A #942258 #C62D76 #D95895

Accessibility & contrast

On white

7.99
#942258 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#942258 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #942258
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##942258#FFFFFF#000000##FFFFFF
##9422581.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4359
Deuteranopia (green-blind)
#595855
Tritanopia (blue-blind)
#A0123A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #942258;
/* rgb */ color: rgb(148, 34, 88);
/* oklch */ color: oklch(45.4% 0.156 356.7);
Tailwind
colors: {
  custom: {
    50: '#b86987',
    500: '#942258',
    950: '#000000',
  },
}
SCSS
$custom: #942258;
$custom-light: #b86987;
$custom-dark: #000000;
JSON
{
  "hex": "#942258",
  "rgb": {
    "r": 148,
    "g": 34,
    "b": 88
  },
  "hsl": {
    "h": 331.579,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45404,
    "c": 0.15604,
    "h": 356.7
  },
  "luminance": 0.08145
}

Semantic roles & 50–950 ramp

primary
#942258
secondary
#55BD8C
accent
#E69842
background
#FBF6F8
surface
#F7EBEF
border
#D0C6CA
text
#12070B
muted
#817A7C

Preview Lab

Preview with #942258

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

Preview Lab → · Contrast checker → · Palette generator →

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