#D242BF#D242BF

#D242BF is a light, highly saturated purple. Relative luminance 0.214; OKLCH L 62.7% C 0.223 H 333.7°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#D242BF
RGBrgb(210, 66, 191)
HSLhsl(308, 62%, 54%)
HSVhsv(308, 69%, 82%)
CMYKcmyk(0%, 68.6%, 9%, 17.6%)
CIE-LABlab(53.34, 69.22, -36.17)
CIE-LCHlch(53.34, 78.10, 332.41°)
OKLaboklab(62.72% 0.2003 -0.099)
OKLCHoklch(62.72% 0.223 333.7)
XYZxyz(37.9308, 21.3628, 51.4058)
Luminance0.2136 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D242BF #42D255
analogous
#9D42D2 #D242BF #D24277
triadic
#D242BF #BFD242 #42BFD2
tetradic
#D242BF #D29D42 #42D255 #4277D2
square
#D242BF #D29D42 #42D255 #4277D2
split-complementary
#D242BF #77D242 #42D29D
monochromatic
#7C1E70 #AD299C #D242BF #DE73D0 #EAA5E0

Accessibility & contrast

On white

3.98
#D242BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#D242BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D242BF
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D242BF#FFFFFF#000000##000000
##D242BF1.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E72C3
Deuteranopia (green-blind)
#7187BB
Tritanopia (blue-blind)
#DB4E7B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #d242bf;
/* rgb */ color: rgb(210, 66, 191);
/* oklch */ color: oklch(62.7% 0.223 333.7);
Tailwind
colors: {
  custom: {
    50: '#e382d2',
    500: '#d242bf',
    950: '#000000',
  },
}
SCSS
$custom: #d242bf;
$custom-light: #e382d2;
$custom-dark: #000000;
JSON
{
  "hex": "#d242bf",
  "rgb": {
    "r": 210,
    "g": 66,
    "b": 191
  },
  "hsl": {
    "h": 307.917,
    "s": 61.538,
    "l": 54.118
  },
  "oklch": {
    "l": 0.62717,
    "c": 0.22344,
    "h": 333.7
  },
  "luminance": 0.2136
}

Semantic roles & 50–950 ramp

primary
#D242BF
secondary
#99D7A1
accent
#E55843
background
#FEF8FC
surface
#FDF0F9
border
#D5CBD2
text
#160B14
muted
#847C82

Preview Lab

Preview with #D242BF

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

Preview Lab → · Contrast checker → · Palette generator →

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