#CA3F8B#CA3F8B

#CA3F8B is a mid, vivid pink. Relative luminance 0.180; OKLCH L 58.9% C 0.189 H 350.8°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#CA3F8B
RGBrgb(202, 63, 139)
HSLhsl(327, 57%, 52%)
HSVhsv(327, 69%, 79%)
CMYKcmyk(0%, 68.8%, 31.2%, 20.8%)
CIE-LABlab(49.47, 61.22, -11.63)
CIE-LCHlch(49.47, 62.31, 349.25°)
OKLaboklab(58.94% 0.1868 -0.0302)
OKLCHoklch(58.94% 0.189 350.8)
XYZxyz(30.7964, 17.9791, 26.2696)
Luminance0.1798 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA3F8B #3FCA7E
analogous
#C43FCA #CA3F8B #CA3F46
triadic
#CA3F8B #8BCA3F #3F8BCA
tetradic
#CA3F8B #CAC43F #3FCA7E #3F46CA
square
#CA3F8B #CAC43F #3FCA7E #3F46CA
split-complementary
#CA3F8B #46CA3F #3FCAC4
monochromatic
#701F4B #A02C6B #CA3F8B #D76FA8 #E49FC5

Accessibility & contrast

On white

4.57
#CA3F8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#CA3F8B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA3F8B
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA3F8B#FFFFFF#000000##000000
##CA3F8B1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#54668D
Deuteranopia (green-blind)
#7C7F88
Tritanopia (blue-blind)
#D9375F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ca3f8b;
/* rgb */ color: rgb(202, 63, 139);
/* oklch */ color: oklch(58.9% 0.189 350.8);
Tailwind
colors: {
  custom: {
    50: '#de7eac',
    500: '#ca3f8b',
    950: '#000000',
  },
}
SCSS
$custom: #ca3f8b;
$custom-light: #de7eac;
$custom-dark: #000000;
JSON
{
  "hex": "#ca3f8b",
  "rgb": {
    "r": 202,
    "g": 63,
    "b": 139
  },
  "hsl": {
    "h": 327.194,
    "s": 56.735,
    "l": 51.961
  },
  "oklch": {
    "l": 0.58935,
    "c": 0.18919,
    "h": 350.8
  },
  "luminance": 0.17976
}

Semantic roles & 50–950 ramp

primary
#CA3F8B
secondary
#94D1B0
accent
#E08D48
background
#FEF8FA
surface
#FCEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CA3F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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